Hibernate

ReadWriteCache - An item was expired by the cache while it was locked (increase your cache timeout)

I had the problem after turning of the 2nd level disk cache (ehcache). Seems to be ignorable.

Persistent Objects

equals and hashCode

equals and hashCode should be consistent on your classes, and depend on the same fields. Otherwise usage in HashSets or HashMaps will cause problems. For persistent objects they should be implemented using business keys.

Equals and HashCode.

Xdoclet

If you are still on hibernate 2 then xdoclet will allow you to use some kind of annonation.

Published: Thursday, 22 July 2004
Updated: Sunday, 18 November 2007