Here is my persistence.xml file:

<?xml version="1.0" encoding="UTF-8"?>
  | <persistence xmlns="http://java.sun.com/xml/ns/persistence";
  |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |     xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
  |     http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; 
version="1.0">
  |     
  |     <persistence-unit name="testPU" transaction-type="JTA">
  |             <jta-data-source>java:/testDS</jta-data-source>
  |             <properties>
  |                     <property name="hibernate.cache.use_second_level_cache" 
value="true"/>
  |                     <property name="hibernate.cache.provider_class" 
value="org.jboss.hibernate.jbc.cacheprovider.JmxBoundTreeCacheProvider" />
  |                     <property name="hibernate.treecache.mbean.object_name" 
value="jboss.cache:service=EJB3EntityCache" />
  |             </properties>
  |     </persistence-unit>
  |   
  | </persistence>

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

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

Reply via email to