[jboss-dev-forums] [Design of JBoss jBPM] - Re: org.jbpm.JbpmException: couldn't deserialize object
alex.guizar@jboss.com
do-not-reply at jboss.com
Tue Jun 3 03:06:45 EDT 2008
Bernd and other folks' examples in JBPM-1024 are about storing serialized objects in the variables, which is what I think is worth addressing. These objects cannot be deserialized if the class files are only present in the process archive.
Now I understand what you meant by hibernate not knowing of the class, but hibernatable objects are not what JBPM-1024 is about. As Ronald points out, fixing the issue for hibernatable classes is harder. I don't know how to override hibernate's class loader except for overriding the context class loader, which will certainly open a can of worms.
I committed a unit test (CustomSerializableVariableDbTest) which shows that JBPM-1024 affects 3.2.2 but not the current CVS head. Fady fixed it with a hack on VariableInstance, which goes to prove that a hack is faster than discussion ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155215#4155215
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4155215
More information about the jboss-dev-forums
mailing list