Class Transaction

java.lang.Object
com.denodo.vdb.engine.storedprocedure.Transaction

public final class Transaction extends Object
Since:
3.5
  • Method Details

    • enlistResource

      public final boolean enlistResource(XAResource xaRes) throws javax.transaction.SystemException, javax.transaction.RollbackException
      Important: do not invoke this method. It is not intended to be invoked from a stored procedure.
      Parameters:
      xaRes - -
      Returns:
      -
      Throws:
      javax.transaction.SystemException - -
      javax.transaction.RollbackException - -
    • delistResource

      public final boolean delistResource(XAResource xaRes, int flag) throws javax.transaction.SystemException
      Important: do not invoke this method. It is not intended to be invoked from a stored procedure.
      Parameters:
      xaRes - -
      flag - -
      Returns:
      -
      Throws:
      javax.transaction.SystemException - -
    • rollback

      public final void rollback() throws javax.transaction.SystemException
      Rollbacks the current transaction.
      Throws:
      javax.transaction.SystemException - If there is an error while rolling back the transaction.
    • commit

      public final void commit() throws javax.transaction.RollbackException, javax.transaction.HeuristicMixedException, javax.transaction.HeuristicRollbackException, javax.transaction.SystemException
      Commits the current transaction
      Throws:
      javax.transaction.SystemException - If there is an error while committing the transaction.
      javax.transaction.HeuristicRollbackException - If there is an error while committing the transaction.
      javax.transaction.HeuristicMixedException - If there is an error while committing the transaction.
      javax.transaction.RollbackException - If there is an error while committing the transaction.