[jboss-user] [JBoss jBPM] - Re: how to programatically set jdbc connection string for hs
tjcroteau
do-not-reply at jboss.com
Wed Jul 18 17:09:25 EDT 2007
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
More information about the jboss-user
mailing list