public class TransactionIsolation extends Object
| Constructor and Description |
|---|
TransactionIsolation() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getLevel(String level)
return the isolation level for a given string description.
|
static String |
getLevelDescription(int level)
Return the string description of the transaction isolation level specified.
|
public static int getLevel(String level)
public static String getLevelDescription(int level)
Returned value is one of NONE, READ_COMMITTED,READ_UNCOMMITTED, REPEATABLE_READ or SERIALIZABLE.
level - the transaction isolation level as per java.sql.ConnectionCopyright © 2014. All Rights Reserved.