What is the difference between JTA and a local transaction?

前端 未结 4 1394
一向
一向 2020-12-12 10:14

What is the difference between JTA and a local transaction?

An example that shows when to use JTA and when to use a local transaction would be great.

4条回答
  •  清歌不尽
    2020-12-12 10:54

    The Java Transaction API (JTA) is one of the Java Enterprise Edition (Java EE) APIs allowing distributed transactions to be done across multiple XA resources in a Java environment.

提交回复
热议问题