-
Notifications
You must be signed in to change notification settings - Fork 75
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
Handle @EmbeddedId annotation #228
Comments
Sure! Can you give me an example of what a class would look like that uses Also, should EqualsVerifier handle fields marked with |
The classes would look like this (I omitted all the parts not regarding this specific issue):
Regarding the second question, I probably use it in a different way, as you can see in the code I wrote in the first post: I consider two classes equal if their primary key (single or composite) is equal. |
Thanks! |
Thanks for your prompt answers! According to your description, I think it should be treated the same way as |
OK, thanks for the answer. I'll make EqualsVerifier treat them the same way then. I'm not sure when I can release it but I'll let you know when I do. |
I just released version 3.1.4 with support for |
Is there a way to natively handle @EmbeddedId annotation?
I'm currently using the following code to evaluate both
@Id
and@EmbeddedId
annotations:The text was updated successfully, but these errors were encountered: