[jboss-user] [JBoss jBPM] - Re: Problem persisting tasks
kukeltje
do-not-reply at jboss.com
Tue Jan 6 16:51:39 EST 2009
Nowhere in the docs, examples etc.. it is mentioned that you should create a context... None of the examples you can find in the source do this.... I've not heard anybody do it... so I *don't* think the docs are the problem here..
and
anonymous wrote : I had to use
| jbpmContext.getSession().save(newTaskInstance);
| and not jbpmContext.save( ..); because if I use this one on the close it gives me "object references an unsaved transient instance" exception will probably disappear if you remove the additional context
anonymous wrote : I'm doing TaskNode.addTask Before create the process instance, when I building the process definition.
| But that is something totally different from what you do on your initial post
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199926#4199926
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199926
More information about the jboss-user
mailing list