What is the difference between a local-tx-datasource and a xa-datasource? can you use transactions in both?

DWQA QuestionsCategory: QuestionsWhat is the difference between a local-tx-datasource and a xa-datasource? can you use transactions in both?
Editor Staff asked 2 months ago

What is the difference between a local-tx-datasource and a xa-datasource? can you use transactions in both?

1 Answers
Editor Staff answered 2 months ago

A local-tx-datasource identifies a data source that uses transactions, even distributed trans actions within the local application server, but doesn’t use distributed transactions among multiple application servers. An xa-datasource on the other hand identifies a data source that uses distributed transactions among multiple application servers.