Class ExternalTransactionConfig

java.lang.Object
com.ibatis.sqlmap.engine.transaction.BaseTransactionConfig
com.ibatis.sqlmap.engine.transaction.external.ExternalTransactionConfig
All Implemented Interfaces:
TransactionConfig

public class ExternalTransactionConfig extends BaseTransactionConfig
The Class ExternalTransactionConfig.
  • Constructor Details

    • ExternalTransactionConfig

      public ExternalTransactionConfig()
  • Method Details

    • newTransaction

      public Transaction newTransaction(int transactionIsolation) throws SQLException, TransactionException
      Description copied from interface: TransactionConfig
      New transaction.
      Parameters:
      transactionIsolation - the transaction isolation
      Returns:
      the transaction
      Throws:
      SQLException - the SQL exception
      TransactionException - the transaction exception
    • isDefaultAutoCommit

      public boolean isDefaultAutoCommit()
      Checks if is default auto commit.
      Returns:
      true, if is default auto commit
    • setDefaultAutoCommit

      public void setDefaultAutoCommit(boolean defaultAutoCommit)
      Sets the default auto commit.
      Parameters:
      defaultAutoCommit - the new default auto commit
    • isSetAutoCommitAllowed

      public boolean isSetAutoCommitAllowed()
      Checks if is sets the auto commit allowed.
      Returns:
      true, if is sets the auto commit allowed
    • setSetAutoCommitAllowed

      public void setSetAutoCommitAllowed(boolean setAutoCommitAllowed)
      Sets the sets the auto commit allowed.
      Parameters:
      setAutoCommitAllowed - the new sets the auto commit allowed
    • setProperties

      public void setProperties(Properties props) throws SQLException, TransactionException
      Description copied from interface: TransactionConfig
      Sets the properties.
      Parameters:
      props - the new properties
      Throws:
      SQLException - the SQL exception
      TransactionException - the transaction exception