[jboss-user] [JBoss Seam] - Seam, Hibernate and caching

rlhr do-not-reply at jboss.com
Mon Jan 15 09:17:29 EST 2007


To use Hibernate second level of cache, these two lines must be added in the persistence.xml file:

  | 	<property name="hibernate.cache.provider_class" value="org.jboss.ejb3.entity.TreeCacheProviderHook" />
  | 	<property name="hibernate.treecache.mbean.object_name" value="jboss.cache:service=EJB3EntityTreeCache" />

When working with the Seam framework, knowing that a treecache.xml configuration file exists and that the pojoCache component configured and started the cache, are these 2 lines still needed?



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

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

More information about the jboss-user mailing list