javax.transaction
接口 TransactionManager
public interface TransactionManager
- 版本:
- $Rev: 467742 $ $Date: 2010/04/07 16:52:44 $
begin
void begin()
throws NotSupportedException,
SystemException
- 抛出:
NotSupportedException
SystemException
commit
void commit()
throws HeuristicMixedException,
HeuristicRollbackException,
IllegalStateException,
RollbackException,
SecurityException,
SystemException
- 抛出:
HeuristicMixedException
HeuristicRollbackException
IllegalStateException
RollbackException
SecurityException
SystemException
getStatus
int getStatus()
throws SystemException
- 抛出:
SystemException
getTransaction
Transaction getTransaction()
throws SystemException
- 抛出:
SystemException
resume
void resume(Transaction tobj)
throws IllegalStateException,
InvalidTransactionException,
SystemException
- 抛出:
IllegalStateException
InvalidTransactionException
SystemException
rollback
void rollback()
throws IllegalStateException,
SecurityException,
SystemException
- 抛出:
IllegalStateException
SecurityException
SystemException
setRollbackOnly
void setRollbackOnly()
throws IllegalStateException,
SystemException
- 抛出:
IllegalStateException
SystemException
setTransactionTimeout
void setTransactionTimeout(int seconds)
throws SystemException
- 抛出:
SystemException
suspend
Transaction suspend()
throws SystemException
- 抛出:
SystemException
Copyright © 2013. All Rights Reserved.