2 Replies Latest reply on Apr 2, 2007 11:39 PM by mgrouch

    Seam, Hibernate and caching

      Hello,

      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?

      Regards,

      Richard