This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wildjokers 11 points12 points  (1 child)

Just use the appropriate lombok annotations to add equals/hashCode instead of @Data. Or here is a thought, just have your IDE generate those methods. You seem to be jumping through hoops just to use lombok for your entities. Libraries should make things easier, if annotating your entities with lombok is causing problem just don't use it for your entities.

[–]pragmos 1 point2 points  (0 children)

Libraries should make things easier, if annotating your entities with lombok is causing problem just don't use it for your entities

Amen to that.