Finally figured it out.
The issue was that I had to pass a HibernateTemplate to JbpmTemplate, so it can inject the Session itself (not SessionFactory!) into JbpmContext.
This was non-obvious--I...
Type: Posts; User: wrschneider99; Keyword(s):
Finally figured it out.
The issue was that I had to pass a HibernateTemplate to JbpmTemplate, so it can inject the Session itself (not SessionFactory!) into JbpmContext.
This was non-obvious--I...
Taking a closer look at jBPM source code it may be that jBPM is indeed doing the "right thing" for the time being.
If you think about process definitions as persistent objects, it makes sense. ...
found this on jBPM JIRA; supposedly marked CLOSED but not sure how to use it.
http://jira.jboss.com/jira/browse/JBPM-297
Update: I found a workaround, but I'm not happy with it.
I switched from HibernateTransactionManager to DataSourceTransactionManager, so the underlying java.sql.Connection will be the same even if...
I've been trying to get jBPM to work with Spring-managed transactions. I posted a detailed reply to message that's probably not in the right forum, since this is specifically an issue with jBPM...
after some more digging I found something interesting:
the same SessionFactory is used but *not* the same Session.
org/jbpm/persistence/db/DbPersistenceService.java is calling...
Also confirmed same SessionFactory in my case.
I am using jBPM 3.1.1.
:confused:
I am having some trouble with this as well. My configuration is very similar--my business bean extends HibernateDaoSupport and is wired with a Spring TransactionManager and PROPAGATION_REQUIRED. I...
I'm using jbpm 3.1.1.
Wow, thanks for the quick reply. now that's service!
Honestly, I have no idea why this is happening. I'm new to jBPM, and right now focused on just getting the basic configuration and db...
Here's how I am incorporating jBPM 3.1 into an existing Hibernate3/Spring app. My goal is to have a single SessionFactory for jBPM and the rest of my app, so everything participates in the same...