| Nice that this fix is available from 5.3.0.Final. In the user guide I see an example of a UserType with equals and hashCode implemented, however, I don't see it mentioned anywhere. I think it would be a good idea to make it more clear to the developer that with implementing UserType, you need to properly implement equals and hashCode in order to make Hibernate work properly. |