Why nested transactions are not supported in JTA
问题 Why aren't nested transactions supported by JTA? Is it because of the complexity of implementing them (which I doubt) or some design principle? 回答1: (As @Piotr Nowicki points out, JTA does allow nested transactions, but this is optional not mandatory.) Why? This is one of those questions that is impossible to answer with any certainty, unless you were one of the people "in the room" when the decisions were made. It could be the inherent complexity of including nested transactions as part of