jakartaee / persistence

https://jakartaee.github.io/persistence/
Other
196 stars 58 forks source link

Deprecate (for removal) EntityTransaction? #378

Open arjantijms opened 2 years ago

arjantijms commented 2 years ago

EntityTransaction serves no purpose and has been effectively replaced by Jakarta Transactions, and specifically widely available standalone transaction managers.

Should we deprecate EntityTransaction and remove it from the API at a later date?

andyjefferson commented 1 year ago

You mean apart from anyone wanting to use LOCAL (i.e non JTA) transactions? So a very large amount of existing JPA code.

arjantijms commented 1 year ago

There's a rumour floating around, but maybe it's only a rumour, that Jakarta Transactions (not JTA), also supports local transactions.