[jboss-dev-forums] [Design of JBoss jBPM] - Re: Any possibility of persistence-API?
camunda
do-not-reply at jboss.com
Fri Jan 23 03:57:28 EST 2009
brittm wrote :
| * Enlist jBPM (Hibernate) in the same JTA transaction that was started via JPA. Anyone know how to readily do this?
|
Maybe I get you wrong, but this is exactly what jbpm can do if you use the JtaDbPersistenceServiceFactory, or where is the problem with that solution?
Then Hibernate uses the current JTA-Transaction and everything works as expected in one transaction (even JMS and such stuff, not tied to a database).
wkzk wrote :
| Ive chosen iBatis or another light persistent API as a persistent / data access framework.
| So, I'd like to use jBPM with above oss frameworks, not hibernate.
|
Motivation would be also very interessting for me. The only real reason I heared till now was politics, that Hibernate is not a standard and JPA has to be used. There is no technical reason behind it, pure politics.
But with iBatis you don't have a standard either, where is the value to exchange jbpm persistence mechanism? You coul deven write a integration to persist domain objects as process variables with iBatis instead of Hibernate, why do you care what jbpm itself uses?
Cheers
Bernd
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204232#4204232
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204232
More information about the jboss-dev-forums
mailing list