JBoss Community

Re: Persistence and Transaction Management

created by Marco Piraccini in jBPM - View the full discussion

Any comment?

The documentation says:

 

"Whenever you do not provide transaction boundaries inside your application, the engine will automatically execute each method invocation on the

engine in a separate transaction"

 

So, if I do not specify the TransactionManager (and do not start a transaction programmatically) I expect that a transaction manager is used transparently by JBPM. Indeed, it seems that org.drools.persistence.jta.JtaTransactionManager is used by default (throwing a NPE!). But that is quite confusing, since the persistence-unit's transaction-type is RESOURCE_LOCAL.

 

Any hint about that?

Reply to this message by going to Community

Start a new discussion in jBPM at Community