Author: tom.baeyens(a)jboss.com
Date: 2009-02-27 07:55:39 -0500 (Fri, 27 Feb 2009)
New Revision: 4066
Added:
jbpm4/tags/jbpm-4.0.0.Alpha2/modules/distro/src/main/resources/examples-hibernate.cfg.xml
Log:
fixed examples hibernate config
Copied:
jbpm4/tags/jbpm-4.0.0.Alpha2/modules/distro/src/main/resources/examples-hibernate.cfg.xml
(from rev 4060, jbpm4/trunk/modules/distro/src/main/resources/examples-hibernate.cfg.xml)
===================================================================
---
jbpm4/tags/jbpm-4.0.0.Alpha2/modules/distro/src/main/resources/examples-hibernate.cfg.xml
(rev 0)
+++
jbpm4/tags/jbpm-4.0.0.Alpha2/modules/distro/src/main/resources/examples-hibernate.cfg.xml 2009-02-27
12:55:39 UTC (rev 4066)
@@ -0,0 +1,35 @@
+<?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>
+
+ <property
name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
+ <property
name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
+ <property
name="hibernate.connection.url">jdbc:hsqldb:mem:.</property>
+ <property name="hibernate.connection.username">sa</property>
+ <property name="hibernate.connection.password"></property>
+
+ <property name="hibernate.hbm2ddl.auto">create</property>
+
+ <property
name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
+
+ <property name="hibernate.format_sql">true</property>
+
+ <mapping resource="jbpm.pvm.typedefs.hbm.xml" />
+ <mapping resource="jbpm.pvm.wire.hbm.xml" />
+ <mapping resource="jbpm.pvm.definition.hbm.xml" />
+ <mapping resource="jbpm.pvm.execution.hbm.xml" />
+ <mapping resource="jbpm.pvm.variable.hbm.xml" />
+ <mapping resource="jbpm.pvm.job.hbm.xml" />
+ <mapping resource="jbpm.pvm.history.hbm.xml" />
+ <mapping resource="jbpm.task.hbm.xml" />
+ <mapping resource="jbpm.jpdl.hbm.xml" />
+
+ </session-factory>
+
+</hibernate-configuration>
+
\ No newline at end of file
Show replies by date