-
1. Re: jBPM 6 not persisting processes with JPA
swiderski.maciej Nov 9, 2013 1:51 PM (in response to mmechell)Looks like you're bit mixing the usage of persistent and non persistent for the process engine and to be honest no idea what you're trying to achieve. If you would like to have non persistent process engine then that would not make sense to set entity manager. You could directly use RuntimeEnvironmentBuilder.getDefaultInMemory. That will provide you most of the elements configured for such usage. If you need persistence for process engine then use RuntimeEnvironmentBuilder.getDefault.
the last environment entry should not be set when entity manager is already given to the RuntimeEnvironment. Could you provide stack trace that was thrown there?
HTH
-
2. Re: jBPM 6 not persisting processes with JPA
mmechell Nov 9, 2013 5:32 PM (in response to swiderski.maciej)That did the trick, and i'm not getting any exceptions from drools ... i was definitely mis-configuring the environment.
Thanks,
marco