[JMS_SPEC-92] Session.commit() etc should require TransactionInProgressException to be thrown if called in a JTA transaction Created: 29/Mar/12 Updated: 29/Mar/12
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
The JMS 1.1 javadoc for TransactionInProgressException
However the javadoc for Session.commit does not list this as a mandatory exception.
This is inconsistent.
It is hereby proposed that the definition of Session.commit and Session.rollback should be modified to require a TransactionInProgressException to be thrown when the session is in a JTA transaction.
Note that the corresponding methods on XASession already require these exceptions.
(and inconsistent with XASession.commit.