You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For repositories defined with interface/abstract entity class, only fields in abstract/entity class are projected.
To ensure that all the fields for the (unknown at that point) concrete class are projected, then '*' should be projected.
StringBasedN1qlQueryParser:
String projectedFields = i(b) + ".*";
if (resultClass != null && !Modifier.isAbstract(resultClass.getModifiers()) /* for both interfaces and abstract classes */) {
Also - getFieldName() can be better by returning getName() in the event it cannot access 'field' for the fieldName (which can happen in abstract classes and interfaces).