getCollection always return the last item
byronv5 opened this issue · comments
@Data class BaseEntity { private String a; private String b; } @Data class AClass extends BaseEntity { @Id private Integer id; private String d; }
cause the property id is not in the BaseEntity,the source code only handle the most super clazz
The ‘id’ attribute must be placed in the base class; otherwise, it cannot be retrieved