Hi,

i now, that jpa entities from a persistent bundle must not become used in a entity manager from a different bundle.


So i try to figure out a wayto persistentities from different persistent bundles in the same transaction. Even if they are using different entitymanager.
Eg:

txn.begin
modul1.persist(someBean)
module2.persist(someBean)
txn.rollback // will rollback modul1 and module2


1) Would OSGiJTA specification handle that stuff properly?
2) Can i use gemini JPA and apache aries JTA together?


Thanks a lot for your answers.


--
Mit besten Grüßen
Florian Pirchner
Fohlenweg 22
2301 Probstdorf
Tel: +43 650 7772338
[email protected]

_______________________________________________
gemini-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/gemini-dev

Reply via email to