This content has been marked as final.
Show 1 reply
-
1. Re: Extending JobSession functionality
jjrs Apr 28, 2009 8:36 AM (in response to jjrs)Just had the inspiration after posting the previous message.
The easy/clean way is extending the JobSession, adding the method with the new functionality and add a constructor to the new class using as a parameter the Session (Hibernate session).
The session can be retrieved from the jbpmContext. I was missing this part, and all my problems were originally produced because I didn't know how to retrieve the Session.
Regards.
Jose.