Class IsolationLevel
java.lang.Object
com.ibatis.sqlmap.engine.transaction.IsolationLevel
The Class IsolationLevel.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The Constant UNSET_ISOLATION_LEVEL. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Apply isolation level.void
Restore isolation level.void
setIsolationLevel
(int isolationLevel) Sets the isolation level.
-
Field Details
-
UNSET_ISOLATION_LEVEL
public static final int UNSET_ISOLATION_LEVELThe 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
Apply isolation level.- Parameters:
conn
- the conn- Throws:
SQLException
- the SQL exception
-
restoreIsolationLevel
Restore isolation level.- Parameters:
conn
- the conn- Throws:
SQLException
- the SQL exception
-