You don't need to do any hibernate stuff if you are woking directly with the class
TaskInstance, its all done inside the JBPM API.
Your are probably not correctly starting the JBPM context.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057526#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...