[jbpm-commits] JBoss JBPM SVN: r3403 - in jbpm4/trunk: modules/db/src/main/resources/db.properties and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Dec 16 12:50:21 EST 2008


Author: tom.baeyens at jboss.com
Date: 2008-12-16 12:50:21 -0500 (Tue, 16 Dec 2008)
New Revision: 3403

Modified:
   jbpm4/trunk/modules/db/src/main/resources/db.properties/mysql.properties
   jbpm4/trunk/modules/db/src/main/resources/db.properties/oracle.properties
   jbpm4/trunk/pom.xml
Log:
added db configurability

Modified: jbpm4/trunk/modules/db/src/main/resources/db.properties/mysql.properties
===================================================================
--- jbpm4/trunk/modules/db/src/main/resources/db.properties/mysql.properties	2008-12-16 16:35:49 UTC (rev 3402)
+++ jbpm4/trunk/modules/db/src/main/resources/db.properties/mysql.properties	2008-12-16 17:50:21 UTC (rev 3403)
@@ -1,8 +1,8 @@
 hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
 hibernate.connection.driver_class=com.mysql.jdbc.Driver
-hibernate.connection.url=jdbc:mysql://${jdbc.mysql.server}/${jdbc.mysql.dbname}
-hibernate.connection.username=${jdbc.mysql.username}
-hibernate.connection.password=${jdbc.mysql.password}
+hibernate.connection.url=jdbc:mysql://[jdbc.server]/[jdbc.dbname]
+hibernate.connection.username=[jdbc.username]
+hibernate.connection.password=[jdbc.password]
 
 
 hibernate.cache.use_second_level_cache=true

Modified: jbpm4/trunk/modules/db/src/main/resources/db.properties/oracle.properties
===================================================================
--- jbpm4/trunk/modules/db/src/main/resources/db.properties/oracle.properties	2008-12-16 16:35:49 UTC (rev 3402)
+++ jbpm4/trunk/modules/db/src/main/resources/db.properties/oracle.properties	2008-12-16 17:50:21 UTC (rev 3403)
@@ -4,9 +4,9 @@
 
 # fetch driver from http://www.oracle.com
 hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver
-hibernate.connection.url=jdbc:oracle:thin:@[hibernate.property.server]:1521:[hibernate.property.dbname]
-hibernate.connection.username=[hibernate.property.username]
-hibernate.connection.password=[hibernate.property.password]
+hibernate.connection.url=jdbc:oracle:thin:@[jdbc.server]:1521:[jdbc.dbname]
+hibernate.connection.username=[jdbc.username]
+hibernate.connection.password=[jdbc.password]
 hibernate.query.substitutions=true 1, false 0
 
 hibernate.cache.use_second_level_cache=true

Modified: jbpm4/trunk/pom.xml
===================================================================
--- jbpm4/trunk/pom.xml	2008-12-16 16:35:49 UTC (rev 3402)
+++ jbpm4/trunk/pom.xml	2008-12-16 17:50:21 UTC (rev 3403)
@@ -385,12 +385,12 @@
                     <sql src="target/jbpm-db/drop/jbpm.${database}.drop.sql" 
                          driver="${hibernate.connection.driver_class}"
                          url="${hibernate.connection.url}"
-                         username="${hibernate.connection.username}"
+                         user="${hibernate.connection.username}"
                          password="${hibernate.connection.password}" />
                     <sql src="target/jbpm-db/create/jbpm.${database}.create.sql" 
                          driver="${hibernate.connection.driver_class}"
                          url="${hibernate.connection.url}"
-                         username="${hibernate.connection.username}"
+                         user="${hibernate.connection.username}"
                          password="${hibernate.connection.password}" />
                   </tasks>
                 </configuration>




More information about the jbpm-commits mailing list