[jboss-user] [jBPM Users] - Re: [JBPM 4] Process variable

2009-10-22 Thread czujnik
Thanks for Your info. I found that there is a problem with persistence of 
variables in JBPM 4.0 which has been solved in 4.1. I've changed jBPM version 
and my code works correctly.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261646#4261646

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [JBPM 4] Process variable

2009-10-22 Thread Krohm
The problem is that JBPM does not recognize your Object as a persistable object.

JBPM is capable of persisting Beans by itself, as long as the primary key is a 
Long or a String, as well as Standard Java Objects.

If the Object you are trying to persist does not enter in that category, you 
will have to :
* modify jbpm.variable.types.xml to make JBPM know this Class
* Possibly to write a new class implementing 
org.jbpm.pvm.internal.type.variable (then refer to it in 
jbpm.variable.types.xml )
* Possibly to write a Converter also.

My choice would be to handle all the persistance in the Variable Class.

Hope this helps.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261644#4261644

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261644
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [JBPM 4] Process variable

2009-10-21 Thread sebastian.s
I am not very proficient in this field but my hint would be to take a look at 
jbpm.variable.types.xml. In the source I even read something about a user 
configuration file so there should be no need to change the file shipped with 
the distro.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261547#4261547

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261547
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user