public static enum Resultset.Concurrency extends Enum<Resultset.Concurrency>
| Enum Constant | Description |
|---|---|
READ_ONLY |
The constant indicating the concurrency mode for a
Resultset object that may NOT be updated. |
UPDATABLE |
The constant indicating the concurrency mode for a
Resultset object that may be updated. |
| Modifier and Type | Field | Description |
|---|---|---|
private int |
value |
| Modifier and Type | Method | Description |
|---|---|---|
static Resultset.Concurrency |
fromValue(int concurMode,
Resultset.Concurrency backupValue) |
|
int |
getIntValue() |
|
static Resultset.Concurrency |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Resultset.Concurrency[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resultset.Concurrency READ_ONLY
Resultset object that may NOT be updated.public static final Resultset.Concurrency UPDATABLE
Resultset object that may be updated.public static Resultset.Concurrency[] values()
for (Resultset.Concurrency c : Resultset.Concurrency.values()) System.out.println(c);
public static Resultset.Concurrency valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getIntValue()
public static Resultset.Concurrency fromValue(int concurMode, Resultset.Concurrency backupValue)