[jboss-user] [jBPM] New message: "Re: Persisting Hibernate entities as process variables"

Joram Barrez do-not-reply at jboss.com
Tue Feb 2 17:00:53 EST 2010

User development,

A new message was posted in the thread "Persisting Hibernate entities as process variables":


Author  : Joram Barrez
Profile : http://community.jboss.org/people/jbarrez

You have to persist your Hibernate entities first. jBPM will use the generated id to link the entity as a variable (instead of serializing the complete object). A quick way to persist your entity is to create a custom command (where you have access to the Hibernate session via environment.get(Session.class).
Check org.jbpm.test.hibernatelongid.HibernateLongIdTest to see an example.


To reply to this message visit the message page: http://community.jboss.org/message/523797#523797

More information about the jboss-user mailing list