This content has been marked as final.
Show 2 replies
-
1. Re: Lazy loading of sub-process
mwohlf Jul 21, 2010 4:48 AM (in response to spiga)did you try executing your code within a command like described in this thread:
processEngine.execute(new Command() {
public Object execute(Environment env) {
// do your stuff here
return null;
}
});or open/close an environment like described in the docs ?
Doing so should take care of the hibernate session and prevent LazyInitializationExceptions
-
2. Re: Lazy loading of sub-process
spiga Jul 21, 2010 7:15 AM (in response to mwohlf)Thank you very much Michael,
within the command my method works well!
Bye,
Fabio