public interface UserTransaction
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int seconds) |
void begin() throws NotSupportedException, SystemException
NotSupportedException
SystemException
void commit() throws HeuristicMixedException, HeuristicRollbackException, java.lang.IllegalStateException, RollbackException, java.lang.SecurityException, SystemException
HeuristicMixedException
HeuristicRollbackException
java.lang.IllegalStateException
RollbackException
java.lang.SecurityException
SystemException
int getStatus() throws SystemException
SystemException
void rollback() throws java.lang.IllegalStateException, java.lang.SecurityException, SystemException
java.lang.IllegalStateException
java.lang.SecurityException
SystemException
void setRollbackOnly() throws java.lang.IllegalStateException, SystemException
java.lang.IllegalStateException
SystemException
void setTransactionTimeout(int seconds) throws SystemException
SystemException
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.