Alejandro Guizar [http://community.jboss.org/people/alex.guizar%40jboss.com] 
created the discussion

"Re: Storing java.util.Collection on process"

To view the discussion, visit: http://community.jboss.org/message/570843#570843

--------------------------------------------------------------
If your collection class and all its elements are Serializable, you have the 
option to set the whole aCollection as a variable, or even the parent 
someBObject, again, if class B is Serializable. This is convenient, but if you 
don't want your objects stored as binaries, you can provide a Hibernate mapping 
for class B, add it to the jbpm.hibernate.cfg.xml file, and simply set 
someBObject as variable. jBPM will recognize Hibernatable objects with either 
Long or String identifiers and persist them by storing their ID value 
automatically. Hope this helps.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/570843#570843]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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

Reply via email to