public final class IsolationLevel extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static IsolationLevel | READ_COMMITTEDThe read committed isolation level. | 
| static IsolationLevel | READ_UNCOMMITTEDThe read uncommitted isolation level. | 
| static IsolationLevel | REPEATABLE_READThe repeatable read isolation level. | 
| static IsolationLevel | SERIALIZABLEThe serializable isolation level. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | asSql()Returns the SQL string represented by each value. | 
| String | toString() | 
| static IsolationLevel | valueOf(String sql)Returns a constant single of an isolation level. | 
public static final IsolationLevel READ_COMMITTED
public static final IsolationLevel READ_UNCOMMITTED
public static final IsolationLevel REPEATABLE_READ
public static final IsolationLevel SERIALIZABLE
public static IsolationLevel valueOf(String sql)
sql - the SQL statement representing the isolation levelIllegalArgumentException - if name is null or emptypublic String asSql()
Copyright © 2019. All rights reserved.