i don't know about the reflection problem.  the way you code it should be ok.  
if you started from processInstance.getClass().getDeclaredMethod(...) then you 
could have a problem that you had to solve by searching the super classes 
recursively.

direct db access should not be necessary.

maybe it is because the hibernate proxy is not yet initialized.  try 
initializing explicitely with Hibernate.initializeProxy or somthing like that.  
maybe the proxies have a cache of all the members...  what happens when you 
save the process instance ?

you could also add a jira issue to ask for a setter on the version.

regards, tom.

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

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


-------------------------------------------------------
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=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to