Nested Transaction in JTA
posted 7 years ago
Suppose that you already have a JTA (or resource local) transaction on a business method. And if you attempt to start another transaction, without committing/rollingback the existing transaction, you are going to start a nested transaction. As Java EE doesn't support this, an exception will be thrown. In other words, you cannot start another transaction, within the scope of an active transaction.