Thanks for the response, to configure Hibernate to use 
OptmisticTreeCacheProvider do I just switch


  |             <property name="hibernate.cache.provider_class" 
value="org.jboss.ejb3.entity.TreeCacheProviderHook"/>
  | 
with

  |             <property name="hibernate.cache.provider_class" 
value="org.hibernate.cache.OptimisticTreeCacheProvider"/>
  | 

in the persistance.xml?


for the record, my full persistance.xml atm is 


  | <persistence>
  |   <persistence-unit name="bligooEM">
  |     <jta-data-source>java:/Bligoo_MySqlDS</jta-data-source>
  |     <properties>
  |             <property name="hibernate.dialect" 
value="org.hibernate.dialect.MySQLDialect" />
  |             <property name="hibernate.cache.provider_class" 
value="org.jboss.ejb3.entity.TreeCacheProviderHook"/>
  |             <property name="hibernate.treecache.mbean.object_name" 
value="jboss.cache:service=EJB3EntityTreeCache"/>
  |             <property name="hibernate.hbm2ddl.auto" value="update"/>
  |             <property name="hibernate.show_sql" value="false" />
  |     </properties>
  |   </persistence-unit>
  | </persistence>
  | 

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

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

Reply via email to