User development,

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

http://community.jboss.org/message/523797#523797

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

Message:
--------------------------------------------------------------
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


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to