[seam-commits] Seam SVN: r11332 - branches/community/Seam_2_2/examples/jpa/resources-websphere7/META-INF.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Jul 31 22:34:32 EDT 2009


Author: denis.forveille
Date: 2009-07-31 22:34:32 -0400 (Fri, 31 Jul 2009)
New Revision: 11332

Modified:
   branches/community/Seam_2_2/examples/jpa/resources-websphere7/META-INF/persistence.xml
Log:
Formatting + remove 2LC

Modified: branches/community/Seam_2_2/examples/jpa/resources-websphere7/META-INF/persistence.xml
===================================================================
--- branches/community/Seam_2_2/examples/jpa/resources-websphere7/META-INF/persistence.xml	2009-08-01 02:31:37 UTC (rev 11331)
+++ branches/community/Seam_2_2/examples/jpa/resources-websphere7/META-INF/persistence.xml	2009-08-01 02:34:32 UTC (rev 11332)
@@ -3,15 +3,21 @@
              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="bookingDatabase" transaction-type="RESOURCE_LOCAL">
+      
       <provider>org.hibernate.ejb.HibernatePersistence</provider>
+      
       <jta-data-source>DefaultDatasource</jta-data-source>
+      
       <properties>
-         <property name="hibernate.dialect" value="GlassfishDerbyDialect"/>
          <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
          <property name="hibernate.show_sql" value="true"/>
-         <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
          <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"/>         
+
+         <!--  Use the "Patched" Hibernate Derby dialect that override the default id generator strategy -->         
+         <property name="hibernate.dialect" value="GlassfishDerbyDialect"/>
+
       </properties>
    </persistence-unit>
 </persistence>



More information about the seam-commits mailing list