[jboss-cvs] jboss-seam/examples/wiki/src/etc/META-INF ...

Gavin King gavin.king at jboss.com
Sun Mar 18 10:05:15 EDT 2007


  User: gavin   
  Date: 07/03/18 10:05:15

  Modified:    examples/wiki/src/etc/META-INF    persistence-dev-war.xml
                        persistence-prod-war.xml persistence-test-war.xml
  Log:
  fixed the persistence.xmls
  
  Revision  Changes    Path
  1.2       +1 -1      jboss-seam/examples/wiki/src/etc/META-INF/persistence-dev-war.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: persistence-dev-war.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/etc/META-INF/persistence-dev-war.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- persistence-dev-war.xml	7 Mar 2007 18:37:36 -0000	1.1
  +++ persistence-dev-war.xml	18 Mar 2007 14:05:15 -0000	1.2
  @@ -5,7 +5,7 @@
                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="wiki">
  +   <persistence-unit name="wiki" transaction-type="JTA">
         <provider>org.hibernate.ejb.HibernatePersistence</provider>
         <jta-data-source>java:/wikiDatasource</jta-data-source>
         <properties>
  
  
  
  1.2       +1 -2      jboss-seam/examples/wiki/src/etc/META-INF/persistence-prod-war.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: persistence-prod-war.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/etc/META-INF/persistence-prod-war.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- persistence-prod-war.xml	7 Mar 2007 18:37:36 -0000	1.1
  +++ persistence-prod-war.xml	18 Mar 2007 14:05:15 -0000	1.2
  @@ -5,12 +5,11 @@
                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="wiki">
  +   <persistence-unit name="wiki" transaction-type="JTA">
         <provider>org.hibernate.ejb.HibernatePersistence</provider>
         <jta-data-source>java:/wikiDatasource</jta-data-source>
         <properties>
            <property name="hibernate.show_sql" value="true"/>
  -         <property name="hibernate.transaction.factory_class" value="org.hibernate.transaction.JTATransactionFactory"/>
            <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
         </properties>
      </persistence-unit>
  
  
  
  1.3       +1 -2      jboss-seam/examples/wiki/src/etc/META-INF/persistence-test-war.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: persistence-test-war.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/etc/META-INF/persistence-test-war.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- persistence-test-war.xml	8 Mar 2007 10:44:15 -0000	1.2
  +++ persistence-test-war.xml	18 Mar 2007 14:05:15 -0000	1.3
  @@ -5,7 +5,7 @@
                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="wiki">
  +   <persistence-unit name="wiki" transaction-type="JTA">
         <provider>org.hibernate.ejb.HibernatePersistence</provider>
         <jta-data-source>java:/wikiTestDatasource</jta-data-source>
         <jar-file>@entityClassesDir@</jar-file> <!-- Compiled entity classes are not where persistence.xml is -->
  @@ -13,7 +13,6 @@
            <property name="hibernate.hbm2ddl.auto" value="create"/> <!-- create-drop throws exception with E-EJB3 -->
            <property name="hibernate.show_sql" value="true"/>
              <!-- TODO: So do we need a TF or not in EEJB3? -->
  -         <property name="hibernate.transaction.factory_class" value="org.hibernate.transaction.JTATransactionFactory"/>
            <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
            <property name="hibernate.cache.use_second_level_cache" value="false"/>
         </properties>
  
  
  



More information about the jboss-cvs-commits mailing list