public class TransactionIsolations extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
asString(int isolationLevel) |
static int |
fromString(String isolationLevel)
Returns an int that corresponds to the JDBC transaction isolation level for the given string.
|
public static int fromString(String isolationLevel) throws IllegalArgumentException
isolationLevel - a String describing a transaction isolation levelIllegalArgumentException - if the given string is not a known isolation levelpublic static String asString(int isolationLevel)
isolationLevel - an int describing a transaction isolation levelIllegalArgumentException - if the given int does not correspond to a known isolation levelCopyright © 2016 Atlassian. All rights reserved.