[JBoss-user] [JBoss jBPM] - Re: process persistence problem with JBPM/Seam
I guess the problem was that the type of the variable value was not any of jBPM's built-in persistable types. The solution might have been making the type serializable. sbhatti, since you ask, this is the easiest but hardly the best approach. Serialization is slow and makes the stored data inaccesible piecewise. The best way to persist a custom type is to create a Hibernate mapping document and reference it from hibernate.cfg.xml. The drawback is, of course, that you have to know how to write mappings (and preferrably write a test case) but learning is a breeze with all the Hibernate tutorials around. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3937560#3937560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3937560 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: process persistence problem with JBPM/Seam
I am having same problem, how exactly did you fix it. It looks like Hibernate can't persist org.jbpm.context.exe.VariableInstance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3937468#3937468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3937468 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: process persistence problem with JBPM/Seam
Peter, The problem as well as the solution are a bit cryptical to me. Is there a bug in jBPM that we should correct? If yes, please post a good description of your problem (preferably using a unit test) and the fix you had to apply in our JIRA. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933326#3933326 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933326 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: process persistence problem with JBPM/Seam
This is actually a jBPM (not a Seam) issue - I debugged this - it turns out, it means one of your Variables does not implement Serializable. Hence, Hibernate cannot persist this to the database. Changing the classes solved the problem for me. Regards, Peter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932767#3932767 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932767 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: process persistence problem with JBPM/Seam
Probably more appropriate if you post this to the SEAM forum. http://www.jboss.com/index.html?module=bbop=viewforumf=231 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931198#3931198 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931198 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user