[jboss-svn-commits] JBL Code SVN: r38034 - in labs/jbossesb/branches/JBESB_4_11_CP/product/services/jbpm5/src/main/resources: META-INF and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Apr 19 08:14:07 EDT 2012


Author: tcunning
Date: 2012-04-19 08:14:06 -0400 (Thu, 19 Apr 2012)
New Revision: 38034

Removed:
   labs/jbossesb/branches/JBESB_4_11_CP/product/services/jbpm5/src/main/resources/hibernate.cfg.xml
Modified:
   labs/jbossesb/branches/JBESB_4_11_CP/product/services/jbpm5/src/main/resources/META-INF/persistence.xml
Log:
JBESB-3787
Remove extraneous hibernate.cfg.xml.


Modified: labs/jbossesb/branches/JBESB_4_11_CP/product/services/jbpm5/src/main/resources/META-INF/persistence.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_11_CP/product/services/jbpm5/src/main/resources/META-INF/persistence.xml	2012-04-19 09:23:48 UTC (rev 38033)
+++ labs/jbossesb/branches/JBESB_4_11_CP/product/services/jbpm5/src/main/resources/META-INF/persistence.xml	2012-04-19 12:14:06 UTC (rev 38034)
@@ -18,7 +18,7 @@
     <class>org.drools.persistence.info.SessionInfo</class>
     <class>org.drools.persistence.info.WorkItemInfo</class>
     <properties> 
-         <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5Dialect"/>
+         <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
          <property name="hibernate.hbm2ddl.auto" value="update"/>
          <!-- for AS5 -->
          <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup" />

Deleted: labs/jbossesb/branches/JBESB_4_11_CP/product/services/jbpm5/src/main/resources/hibernate.cfg.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_11_CP/product/services/jbpm5/src/main/resources/hibernate.cfg.xml	2012-04-19 09:23:48 UTC (rev 38033)
+++ labs/jbossesb/branches/JBESB_4_11_CP/product/services/jbpm5/src/main/resources/hibernate.cfg.xml	2012-04-19 12:14:06 UTC (rev 38034)
@@ -1,39 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<!DOCTYPE hibernate-configuration PUBLIC
-        "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
-
-<hibernate-configuration>
-
-    <session-factory>
-
-        <!-- Database connection settings -->
-        <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
-        <property name="connection.url">jdb:mysql://localhost:3306/jbpm5</property>
-        <!--property name="connection.url">jdbc:h2:file:/NotBackedUp/data/mydb</property-->
-        <property name="connection.username">jbpm5</property>
-        <property name="connection.password">jbpm5</property>
-
-        <!-- JDBC connection pool (use the built-in) -->
-        <property name="connection.pool_size">1</property>
-
-        <!-- SQL dialect -->
-        <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
-
-        <!-- Enable Hibernate's automatic session context management -->
-        <property name="current_session_context_class">thread</property>
-
-        <!-- Disable the second-level cache  -->
-        <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
-
-        <!-- Echo all executed SQL to stdout -->
-        <property name="show_sql">false</property>
-
-        <!-- Drop and re-create the database schema on startup? -->
-        <property name="hbm2ddl.auto">create</property>
-
-        <mapping resource="AuditLog.hbm.xml"/>
-
-    </session-factory>
-
-</hibernate-configuration>



More information about the jboss-svn-commits mailing list