[jboss-user] [JBoss Seam] - Add Hibernate caching

tim_ph do-not-reply at jboss.com
Thu Aug 30 16:48:30 EDT 2007


To add  EhCache for Hibernate second-level caching:

1/. add ehcache.jar to ear directory
2/. add    <!-- Hibernate cache --> to application.xml (I hate this step why can't it load all jars in ear directory instead of looking for specified one here)
   
      ehcache-1.2.4.jar
   
3/. add something like this to persistence.xml
         
         


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079773



More information about the jboss-user mailing list