当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter.TransactionAdapter (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.transaction
Class WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter.TransactionAdapter
java.lang.Object
net.sf.hibernate.transaction.WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter.TransactionAdapter
- All Implemented Interfaces:
- Transaction
- Enclosing class:
- WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter
- public class WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter.TransactionAdapter
- extends Object
- implements Transaction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registerSynchronization
public void registerSynchronization(Synchronization synchronization)
throws RollbackException,
IllegalStateException,
SystemException
- Specified by:
registerSynchronization
in interface Transaction
- Throws:
RollbackException
IllegalStateException
SystemException
commit
public void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
- Specified by:
commit
in interface Transaction
- Throws:
RollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
IllegalStateException
SystemException
delistResource
public boolean delistResource(XAResource resource,
int i)
throws IllegalStateException,
SystemException
- Specified by:
delistResource
in interface Transaction
- Throws:
IllegalStateException
SystemException
enlistResource
public boolean enlistResource(XAResource resource)
throws RollbackException,
IllegalStateException,
SystemException
- Specified by:
enlistResource
in interface Transaction
- Throws:
RollbackException
IllegalStateException
SystemException
getStatus
public int getStatus()
throws SystemException
- Specified by:
getStatus
in interface Transaction
- Throws:
SystemException
rollback
public void rollback()
throws IllegalStateException,
SystemException
- Specified by:
rollback
in interface Transaction
- Throws:
IllegalStateException
SystemException
setRollbackOnly
public void setRollbackOnly()
throws IllegalStateException,
SystemException
- Specified by:
setRollbackOnly
in interface Transaction
- Throws:
IllegalStateException
SystemException