Forums Register Login

Distributed transaction or local transaction

+Pie Number of slices to send: Send
How do I determine whether my application uses Distributed transaction or local transaction?
+Pie Number of slices to send: Send
Typically local transaction are used when resources involved in transactions is unique (for instance : a database do persist information). When you need to persist informations in various and differents databases (or other resources used to persist information and involved in transaction), then you must be use distributed transactions (using JTA). JTA specifies ways to manage distributed transaction properly.

Best regards,

Mr. Soares
São Paulo - Brazil

You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 897 times.
Similar Threads
JDBC transactions, JTA transactions, Transaction demarcation
Hibernate suitable for distributed environment
UNCLEAR - Does transaction propogate to JDBC DAO?
Resource-local transaction and JTA transaction together
Jdbc and Two Phase Commit
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 00:36:37.