public static enum OracleConnection.TransactionPriority extends java.lang.Enum<OracleConnection.TransactionPriority>
| Enum Constant and Description |
|---|
HIGH
HIGH Transaction Priority never rolls back a HIGH
priority transaction in order to release a row lock for another
transaction. |
LOW
Use LOW to mark a transaction that has low priority.
|
MEDIUM
|
| Modifier and Type | Method and Description |
|---|---|
static OracleConnection.TransactionPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OracleConnection.TransactionPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OracleConnection.TransactionPriority LOW
Use LOW to mark a transaction that has low priority.
Such a low priority transaction will be rolled back if it's holding a
lock that is required by a higher priority transaction that has been
waiting longer than its target wait time (see
PRIORITY_TXNS_HIGH_WAIT_TARGET and
PRIORITY_TXNS_MEDIUM_WAIT_TARGET database parameters).
public static final OracleConnection.TransactionPriority MEDIUM
public static final OracleConnection.TransactionPriority HIGH
HIGH Transaction Priority never rolls back a HIGH
priority transaction in order to release a row lock for another
transaction. This is the default.
public static OracleConnection.TransactionPriority[] values()
for (OracleConnection.TransactionPriority c : OracleConnection.TransactionPriority.values()) System.out.println(c);
public static OracleConnection.TransactionPriority valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null