当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.transaction
Class WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter
java.lang.Object
net.sf.hibernate.transaction.WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter
- All Implemented Interfaces:
- TransactionManager
- Enclosing class:
- WebSphereExtendedJTATransactionLookup
- public static class WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter
- extends Object
- implements TransactionManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
begin
public void begin()
throws NotSupportedException,
SystemException
- Specified by:
begin in interface TransactionManager
- Throws:
NotSupportedException
SystemException
commit
public void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
- Specified by:
commit in interface TransactionManager
- Throws:
RollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
IllegalStateException
SystemException
getStatus
public int getStatus()
throws SystemException
- Specified by:
getStatus in interface TransactionManager
- Throws:
SystemException
getTransaction
public Transaction getTransaction()
throws SystemException
- Specified by:
getTransaction in interface TransactionManager
- Throws:
SystemException
resume
public void resume(Transaction txn)
throws InvalidTransactionException,
IllegalStateException,
SystemException
- Specified by:
resume in interface TransactionManager
- Throws:
InvalidTransactionException
IllegalStateException
SystemException
rollback
public void rollback()
throws IllegalStateException,
SecurityException,
SystemException
- Specified by:
rollback in interface TransactionManager
- Throws:
IllegalStateException
SecurityException
SystemException
setRollbackOnly
public void setRollbackOnly()
throws IllegalStateException,
SystemException
- Specified by:
setRollbackOnly in interface TransactionManager
- Throws:
IllegalStateException
SystemException
setTransactionTimeout
public void setTransactionTimeout(int i)
throws SystemException
- Specified by:
setTransactionTimeout in interface TransactionManager
- Throws:
SystemException
suspend
public Transaction suspend()
throws SystemException
- Specified by:
suspend in interface TransactionManager
- Throws:
SystemException