[jboss-user] [jBPM] - Re: Storing java.util.Collection on process

Alejandro Guizar do-not-reply at jboss.com
Thu Nov 11 14:15:12 EST 2010


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101111/d591f34b/attachment.html 


More information about the jboss-user mailing list