-
1. jBPM 5.0 and Hibernate
sujee Feb 21, 2011 10:45 PM (in response to sujee)Hi All,
Kindly someone clarify this.
Thank you.
-
2. jBPM 5.0 and Hibernate
krisverlaenen Mar 1, 2011 12:13 AM (in response to sujee)The default persistence implementation uses JPA, where Hibernate can for example be used as the underlying persistence framework. So you can combine jBPM 5.0 persistence with an existing hibernate solution. If you really want to avoid using JPA altogether and use Hibernate directly, you could plug in your own persistence, where you replace the invocations to JPA in the implementation with direct invocation of the Hibernate equivalent.
Regarding transactions, jBPM 5.0 uses a pluggable mechanism here as well, where by default we use JTA but we also have a Spring implementation (as Spring doesn't provide access to the JTA transaction manager).
Kris
-
-
4. Re: jBPM 5.0 and Hibernate
frankee787 Jun 5, 2011 4:49 AM (in response to krisverlaenen)Could you point me out into where I can find some test cases/examples where in which jBPM5 executions and application logic executions are under same Spring transaction?
I am trying to achieve this in the Client side along with calls to client.claim(...) or client.complete(...). My client is a Mina client and that is why I am confused as to how this will work.