[jboss-cvs] jboss-seam/examples/hibernate2/resources ...

Gavin King gavin.king at jboss.com
Mon Jun 25 12:18:46 EDT 2007


  User: gavin   
  Date: 07/06/25 12:18:46

  Modified:    examples/hibernate2/resources   components.xml
                        hibernate.cfg.xml
  Log:
  dont use JTA
  
  Revision  Changes    Path
  1.13      +0 -2      jboss-seam/examples/hibernate2/resources/components.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: components.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/resources/components.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -b -r1.12 -r1.13
  --- components.xml	24 Jun 2007 06:44:20 -0000	1.12
  +++ components.xml	25 Jun 2007 16:18:46 -0000	1.13
  @@ -10,8 +10,6 @@
                    http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.3.xsd
                    http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.3.xsd">
   
  -    <core:init debug="true"/>    
  -
       <core:manager conversation-timeout="120000" 
                     concurrent-request-timeout="500"
                     conversation-id-parameter="cid"/>
  
  
  
  1.4       +1 -3      jboss-seam/examples/hibernate2/resources/hibernate.cfg.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: hibernate.cfg.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/resources/hibernate.cfg.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- hibernate.cfg.xml	21 Nov 2006 20:14:09 -0000	1.3
  +++ hibernate.cfg.xml	25 Jun 2007 16:18:46 -0000	1.4
  @@ -9,9 +9,7 @@
           <property name="hbm2ddl.auto">create-drop</property>
           <property name="cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
           <property name="transaction.flush_before_completion">true</property>
  -        <property name="connection.release_mode">after_statement</property>
  -        <property name="transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
  -        <property name="transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
  +        <property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
           <mapping class="org.jboss.seam.example.hibernate.Hotel"/>
           <mapping class="org.jboss.seam.example.hibernate.User"/>
           <mapping class="org.jboss.seam.example.hibernate.Booking"/>
  
  
  



More information about the jboss-cvs-commits mailing list