[jboss-dev-forums] [Design of JBoss jBPM] - Re: various questions

tom.baeyens@jboss.com do-not-reply at jboss.com
Fri Feb 16 03:52:41 EST 2007


"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#4017488

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017488



More information about the jboss-dev-forums mailing list