HHH-3111 fixed TM.getStatus() to delegate to getTransaction().getStatus(), or return STATUS_NO_TRANSACTION
git-svn-id: https://svn.jboss.org/repos/hibernate/core/branches/Branch_3_2@14394 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
74c3e54757
commit
9f2f00f1ee
|
@ -83,8 +83,8 @@ public class WebSphereExtendedJTATransactionLookup implements TransactionManager
|
|||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public int getStatus() throws UnsupportedOperationException {
|
||||
throw new UnsupportedOperationException();
|
||||
public int getStatus() throws SystemException {
|
||||
return getTransaction() == null ? Status.STATUS_NO_TRANSACTION : getTransaction().getStatus();
|
||||
}
|
||||
|
||||
public Transaction getTransaction() throws SystemException {
|
||||
|
|
Loading…
Reference in New Issue