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/trunk@14395 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
ada6552638
commit
79919d20a4
|
@ -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