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

A 'hashCode' Problem #48

Open
rangguangyu opened this issue Feb 25, 2020 · 1 comment
Open

A 'hashCode' Problem #48

rangguangyu opened this issue Feb 25, 2020 · 1 comment

Comments

@rangguangyu
Copy link

rangguangyu commented Feb 25, 2020

If the property id is not present in the object, How do I avoid getting the hashcode value?

@rangguangyu rangguangyu changed the title A A 'hashCode' Problem Feb 25, 2020
@luisvt
Copy link
Collaborator

luisvt commented Mar 10, 2020

you could add the @uid annotation to the field you want to act as unique id.

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

2 participants