So, I have found that the only jbpm call that disregards the db connection that 
was set on the context using JbpmContext.setConnection is the call to 
createSchema.  

If the connection is set on the context when createSchema is called a 
UserSuppliedConnectionProvider exception is thrown with the message "The user 
must supply a JDBC Connection"

This appears to be a bug in jbpm not passing the connection down to hibernate.

As a workaround, I found that setting the property hibernate.connection.url 
will force hibernate to find the database connection that was already 
established.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065578#4065578

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065578
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to