[jboss-user] [JBoss jBPM] - Re: pooled actors not persisted

dmitri.ilyin do-not-reply at jboss.com
Thu Oct 30 06:31:12 EDT 2008

i could localize the problem but i have no idea how to solve it.

We run JBoss 4.2.3 with JBPM3.2.3. We use EJB3 (JPA) for Entity Beans and JTA Transactions. 
So, we have only one Hibernate configuration for hole Enterprise App. Hibernate session-factory is configured for JNDI and we use only this JNDI name for resolving the session factory for JPA "persistence-unit" and for "jBPM configuration". Here our jbpm config:
The need this contruction couse we must work with Entity Beans and JBPM in one transaction. We just start JTA transaction and make changes with Entities and JBPM manipulations within it. 

It seems that in our configuration jBPM calls hibernate JPA implementation for persisting and JPA can not persisitence by reachability that follows that objects must be persisted explicitly. In case of pooled actors jBPM thinks they will be persisted automaticaly by hibernate but JPA don't do it.

Are there any tricks? 

thanks a lot for any help.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185664

More information about the jboss-user mailing list