[jboss-user] [JBoss Seam] - Re: is it possible to complete JBPM task and update entity a

2008-01-07 Thread rainhust
vladimir.kovalyuk wrote : In my case jBPM persistence is configured to use EntityManagerFactory, I use sessionFactoryJndiName property to point to it. | hi, can you describe how you do this. i use seam with jbpm , and i config files is : seam persistence file persistence.xml |

[jboss-user] [JBoss Seam] - Re: is it possible to complete JBPM task and update entity a

2007-08-26 Thread vladimir.kovalyuk
Pete, I fixed it by implementing my own version of org.jbpm.persistence.db.DbPersistenceServiceFactory and properly configuring jbpm.xfg.xml. In my case jBPM persistence is configured to use EntityManagerFactory, I use sessionFactoryJndiName property to point to it. Original

[jboss-user] [JBoss Seam] - Re: is it possible to complete JBPM task and update entity a

2007-08-14 Thread [EMAIL PROTECTED]
vladimir.kovalyuk wrote : is it possible to start a JBPM process and update entity as an atomic operation? Yes, @CreateProcess only starts a process if the method with which it is annotated returns a non-null outcome without exception. So, if the entity update fails (e.g. flush() with manual