This content has been marked as final.
Show 5 replies
-
1. Re: Storing hibernate persistent objects in variables
the_dude Oct 17, 2006 2:00 PM (in response to dserodio)I am running into that kind of problem as well - does anyone know how this is done?
-
2. Re: Storing hibernate persistent objects in variables
the_dude Oct 19, 2006 4:29 AM (in response to dserodio)Follow these steps:
1. Create your classes, mapping files and tables.
2. Put the names of the mapping files in your hibernate.cfg.xml
3. Save your objects in your hibernate session
4. Save your objects as process variables
Be happy. -
3. Re: Storing hibernate persistent objects in variables
grimshieldsson Oct 24, 2006 12:25 PM (in response to dserodio)Step 3 is where I have a problem. getSession() is not available from JbpmContext, despite the fac that the javadocs indicate that it should be. How do you the Hibernate Session?
-
4. Re: Storing hibernate persistent objects in variables
grimshieldsson Oct 24, 2006 12:36 PM (in response to dserodio)"GrimShieldsson" wrote:
Step 3 is where I have a problem. getSession() is not available from JbpmContext, despite the fac that the javadocs indicate that it should be. How do you the Hibernate Session?
Never mind... PEBCAK -
5. Re: Storing hibernate persistent objects in variables
stibrian Oct 24, 2006 2:23 PM (in response to dserodio)I'm assuming due to the PEBKAC that you got this figured out, but just in case - are you clear that you don't need to actually do anything to have your custom hibernated types saved by jbpm?