public class UserTransactionImpl extends Object implements UserTransaction
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected TransactionManager |
tm |
| コンストラクタと説明 |
|---|
UserTransactionImpl(TransactionManager tm) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int timeout) |
protected TransactionManager tm
public UserTransactionImpl(TransactionManager tm)
public void begin()
throws NotSupportedException,
SystemException
begin インタフェース内 UserTransactionNotSupportedExceptionSystemExceptionpublic void commit()
throws HeuristicMixedException,
HeuristicRollbackException,
IllegalStateException,
RollbackException,
SecurityException,
SystemException
public int getStatus()
throws SystemException
getStatus インタフェース内 UserTransactionSystemExceptionpublic void rollback()
throws IllegalStateException,
SecurityException,
SystemException
rollback インタフェース内 UserTransactionIllegalStateExceptionSecurityExceptionSystemExceptionpublic void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly インタフェース内 UserTransactionIllegalStateExceptionSystemExceptionpublic void setTransactionTimeout(int timeout)
throws SystemException
setTransactionTimeout インタフェース内 UserTransactionSystemExceptionCopyright © 2015 The DBFlute Project. All rights reserved.