DATACMNS-840 - Repository query methods returning enums are not considered projecting now.
This commit is contained in:
@@ -299,6 +299,7 @@ public abstract class ReturnedType {
|
||||
|
||||
private boolean isDto() {
|
||||
return !Object.class.equals(type) && //
|
||||
!type.isEnum() && //
|
||||
!isDomainSubtype() && //
|
||||
!isPrimitiveOrWrapper() && //
|
||||
!Number.class.isAssignableFrom(type) && //
|
||||
|
||||
Reference in New Issue
Block a user