This content has been marked as final.
Show 2 replies
-
1. Re: Entity variable
kukeltje Dec 4, 2009 3:44 PM (in response to juanignaciosl)It can be saved by jBPM if it is serializable. Other options will be worked out in future releases of jBPM.
-
2. Re: Entity variable
juanignaciosl Dec 9, 2009 4:25 AM (in response to juanignaciosl)Neat. As I read at the documentation it's likely that I should be able to save as an Hibernate entity, but Serializable is good enough for the time being.
Nevertheless, when I make it Serializable it gets stored but it can't be loaded, taskService.getVariables throws the following exception:org.jbpm.api.JbpmException: couldn't deserialize object (...) org.jbpm.api.JbpmException: couldn't deserialize object Caused by: java.lang.ClassNotFoundException
I'm trying to deploy the .class file inside a .bar or .jar together with the jpdl and deploying it with createDeployment() .addResourcesFromZipInputStream(zip), but the class won't get deployed.