persistence
persistence copied to clipboard
Deprecate (for removal) EntityTransaction?
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?
You mean apart from anyone wanting to use LOCAL (i.e non JTA) transactions? So a very large amount of existing JPA code.
There's a rumour floating around, but maybe it's only a rumour, that Jakarta Transactions (not JTA), also supports local transactions.