You should configure hibernate to use JBoss Cache as a 2nd level cache and 
handle the cachning of objects internally.  You should not try and cache the 
objects yourself in this manner since this could potentially create a sitiation 
where you end up with stale data.

See the chapter on caching in the hibernate docs for more details.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971530#3971530

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971530
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to