Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getCollection always return the last item #60

Closed
byronv5 opened this issue Jan 23, 2024 · 1 comment
Closed

getCollection always return the last item #60

byronv5 opened this issue Jan 23, 2024 · 1 comment

Comments

@byronv5
Copy link

byronv5 commented Jan 23, 2024

@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

@byronv5 byronv5 closed this as completed Feb 23, 2024
@byronv5
Copy link
Author

byronv5 commented Feb 23, 2024

The ‘id’ attribute must be placed in the base class; otherwise, it cannot be retrieved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant