"jeffdelong" wrote : IMO the best way to add a "business key" to a
processInstance is by extending ProcessInstance (using the Hibernate subclass mechanism).
Unfortunately, when I tried to do this in the past, I had issues with hibernate proxies,
etc. The benefit of this approach (assuming the proxy issues could be resolved) is that
the developer can extend ProcessInstance with whatever data type or however many business
keys they deem appropriate, and then create hibernate queries as needed to support their
requirement.
subclassing is in many cases not an option because it changes the DB schema and hibernate
mappings for every process that you try to deploy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017488#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...