Generate equals method should access attributes via accessor not directly. Permanently deleted user Created September 01, 2008 20:11 The way it is done now will cause a problem with Hibernate proxies.
You can easily workaround this with Refactor -> Encapsulate Fields refactoring (checkbox "Use accessors even when field is visible" must be checked).
EDIT:
Although, "Use accessors when available" checkbox for generating hashCode and equals would be really nice.