[Design of JBoss jBPM] - Re: Any possibility of persistence-API?
by wkzk
Thank you guys.
"tom.baeyens(a)jboss.com" wrote :
| can you elaborate on this motivation. the only motivation that i have seen in this context is that from a coding perspective, this looks cleaner.
|
As a coding perspective, Yes, its one of the reason.But the main motivations are, which is not smart , sorry,;-)
1. My team developers are Not familiar with Hibernate.(I know that much Hibernate-knowledge is not needed to use jBPM.but if anything happen in hibernate,it would be panic...)
2. I don't know well about passing the jdbc connection from iBatis to the hibernate Session on the same transaction...
That's it. I apologize that you guys expected much more smart things.
I appreciate lots of responces, anyway!
btw, standard is not big deal around me recently. JEE6 doesn't show up yet, I can't wait. ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204342#4204342
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204342
17 years, 2 months
[Design of JBoss jBPM] - Re: Any possibility of persistence-API?
by camunda
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
17 years, 2 months