javax.transaction
Interface UserTransaction


public interface UserTransaction

Version:
$Rev: 46019 $ $Date: 2004-09-14 11:56:06 +0200 (Tue, 14 Sep 2004) $

Method Summary
 void begin()
           
 void commit()
           
 int getStatus()
           
 void rollback()
           
 void setRollbackOnly()
           
 void setTransactionTimeout(int seconds)
           
 

Method Detail

begin

public void begin()
           throws NotSupportedException,
                  SystemException
Throws:
NotSupportedException
SystemException

commit

public void commit()
            throws HeuristicMixedException,
                   HeuristicRollbackException,
                   java.lang.IllegalStateException,
                   RollbackException,
                   java.lang.SecurityException,
                   SystemException
Throws:
HeuristicMixedException
HeuristicRollbackException
java.lang.IllegalStateException
RollbackException
java.lang.SecurityException
SystemException

getStatus

public int getStatus()
              throws SystemException
Throws:
SystemException

rollback

public void rollback()
              throws java.lang.IllegalStateException,
                     java.lang.SecurityException,
                     SystemException
Throws:
java.lang.IllegalStateException
java.lang.SecurityException
SystemException

setRollbackOnly

public void setRollbackOnly()
                     throws java.lang.IllegalStateException,
                            SystemException
Throws:
java.lang.IllegalStateException
SystemException

setTransactionTimeout

public void setTransactionTimeout(int seconds)
                           throws SystemException
Throws:
SystemException


Copyright © {inceptionYear}-2007 null. All Rights Reserved.