This content has been marked as final.
Show 6 replies
-
1. Re: endTransaction never called in DBPersistenceService
kukeltje Oct 12, 2008 3:08 PM (in response to oravecz)when you close the JbpmContext, the transaction is ended if it is configured that jBPM should do this. Otherwise (e.g. if an external transactionmanager is used) it is left to that
-
2. Re: endTransaction never called in DBPersistenceService
oravecz Oct 12, 2008 4:00 PM (in response to oravecz)How do I wire in an external transaction manager. Do I replace the TxServiceFactory?
-
3. Re: endTransaction never called in DBPersistenceService
kukeltje Oct 12, 2008 9:01 PM (in response to oravecz)See http://wiki.jboss.org/wiki/JbpmWiki and then the "jBPM 3.2 inside JBoss AS using CMT" page
-
4. Re: endTransaction never called in DBPersistenceService
jbarrez Oct 13, 2008 4:07 AM (in response to oravecz)Another option is using an external sessionFactory on which a transactionmanager is defined. This sessionFactory can be set onto the dbPersistencyService through a jBPMContext.
-
5. Re: endTransaction never called in DBPersistenceService
kukeltje Oct 13, 2008 6:31 AM (in response to oravecz)yes, but you still should configure jBPM that it should not do transactions by itself (afaik, but I might be wrong)
-
6. Re: endTransaction never called in DBPersistenceService
jbarrez Oct 13, 2008 6:38 AM (in response to oravecz)Correct Ronald, the 'isTransactionEnabled' attribute should be set to false in that case.