persistence.xml inside ejb.jar

  | <?xml version="1.0" encoding="UTF-8"?>
  | <persistence version="1.0" 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";>
  |     <persistence-unit name="soovPU" transaction-type="JTA">
  |         <provider>org.hibernate.ejb.HibernatePersistence</provider>
  |         <jta-data-source>jdbc/soov</jta-data-source>
  |         <exclude-unlisted-classes>false</exclude-unlisted-classes>
  |         <properties>
  |             <property name="hibernate.dialect" 
value="org.hibernate.dialect.OracleDialect"/>
  |             <property name="hibernate.transaction.manager_lookup_class" 
value="org.hibernate.transaction.SunONETransactionManagerLookup"/>
  |             <property name="hibernate.show_sql" value="true"/>
  |             <property name="hibernate.format_sql" value="true"/>
  |             <property name="hibernate.hibernate.max_fetch_depth" value="0"/>
  |             <property name="hibernate.cache.provider_class" 
  |                       value="org.hibernate.cache.TreeCacheProvider"/>
  |         </properties>
  |     </persistence-unit>
  | </persistence>
  | 

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

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

Reply via email to