If you want to use hsqldb as defined in jbpm-ds.xml, you have to make sure that
the JbpmDS datasource is referenced from hibernate.cfg.xml. Change it to:
<!-- JDBC connection properties (begin) ===
| NOT USED, THE CONNECTION PROPERTIES ARE DEFINED IN jbpm-ds.xml!
| <property
name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
| <property
name="hibernate.connection.url">jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}jbpmDB</property>
| <property name="hibernate.connection.username">sa</property>
| <property name="hibernate.connection.password"></property>
| ===JDBC connection properties (end) -->
|
|
|
| <!-- DataSource properties (begin) -->
| <property
name="hibernate.connection.datasource">java:/JbpmDS</property>
| <!-- DataSource properties (end) -->
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134765#4134765
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134765
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user