persistence icon indicating copy to clipboard operation
persistence copied to clipboard

Deprecate (for removal) EntityTransaction?

Open arjantijms opened this issue 3 years ago • 2 comments

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?

arjantijms avatar Sep 04 '22 20:09 arjantijms

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

andyjefferson avatar Sep 16 '22 17:09 andyjefferson

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

arjantijms avatar Sep 16 '22 19:09 arjantijms