Class IsolationLevel

java.lang.Object
com.ibatis.sqlmap.engine.transaction.IsolationLevel

public class IsolationLevel extends Object
The Class IsolationLevel.
  • Field Details

    • UNSET_ISOLATION_LEVEL

      public static final int UNSET_ISOLATION_LEVEL
      The Constant UNSET_ISOLATION_LEVEL.
      See Also:
  • Constructor Details

    • IsolationLevel

      public IsolationLevel()
  • Method Details

    • setIsolationLevel

      public void setIsolationLevel(int isolationLevel)
      Sets the isolation level.
      Parameters:
      isolationLevel - the new isolation level
    • applyIsolationLevel

      public void applyIsolationLevel(Connection conn) throws SQLException
      Apply isolation level.
      Parameters:
      conn - the conn
      Throws:
      SQLException - the SQL exception
    • restoreIsolationLevel

      public void restoreIsolationLevel(Connection conn) throws SQLException
      Restore isolation level.
      Parameters:
      conn - the conn
      Throws:
      SQLException - the SQL exception