Hibernate 3.x default functionality supports transaction level caching. For second-level caching (process or cluster-scope) you would have to use another cache provider such as EHCache or JBoss cache. You have to brainstorm first whether you really need second-level cache. I recommend Gavin King, Christian Bauer's book: Java Persistence API, which has one full section on Hibernate caching with examples.
posted 12 years ago
thanks a lot.
and whats the major lazy loading?
Poop goes in a willow feeder. Wipe with this tiny ad: