[jboss-cvs] jboss-seam/examples/jpa/resources-weblogic10/META-INF ...

Jay Balunas jbalunas at redhat.com
Thu Jan 10 10:34:01 EST 2008


  User: jbalunas
  Date: 08/01/10 10:34:01

  Modified:    examples/jpa/resources-weblogic10/META-INF  persistence.xml
  Log:
  JBSEAM-2411, JBSEAM-2476 Updated configs for transaction impl, and solved ANTLR issue.
  
  Revision  Changes    Path
  1.2       +1 -3      jboss-seam/examples/jpa/resources-weblogic10/META-INF/persistence.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: persistence.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/jpa/resources-weblogic10/META-INF/persistence.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- persistence.xml	8 Jan 2008 14:32:54 -0000	1.1
  +++ persistence.xml	10 Jan 2008 15:34:01 -0000	1.2
  @@ -3,13 +3,11 @@
                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="JTA">
  +   <persistence-unit name="bookingDatabase" transaction-type="RESOURCE_LOCAL">
         <provider>org.hibernate.ejb.HibernatePersistence</provider>
         <jta-data-source>seam-jpa-ds</jta-data-source>
         <properties>
            <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
  -         <property name="hibernate.query.factory_class" 
  -            value="org.hibernate.hql.classic.ClassicQueryTranslatorFactory"/>
            <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"/>
  
  
  



More information about the jboss-cvs-commits mailing list