public static enum Resultset.Type extends Enum<Resultset.Type>
| Enum Constant and Description |
|---|
FORWARD_ONLY
The constant indicating the type for a
Resultset object
whose cursor may move only forward. |
SCROLL_INSENSITIVE
The constant indicating the type for a
Resultset object
that is scrollable but generally not sensitive to changes to the data
that underlies the Resultset. |
SCROLL_SENSITIVE
The constant indicating the type for a
Resultset object
that is scrollable and generally sensitive to changes to the data
that underlies the Resultset. |
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Resultset.Type |
fromValue(int rsType,
Resultset.Type backupValue) |
int |
getIntValue() |
static Resultset.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resultset.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resultset.Type FORWARD_ONLY
Resultset object
whose cursor may move only forward.public static final Resultset.Type SCROLL_INSENSITIVE
Resultset object
that is scrollable but generally not sensitive to changes to the data
that underlies the Resultset.public static final Resultset.Type SCROLL_SENSITIVE
Resultset object
that is scrollable and generally sensitive to changes to the data
that underlies the Resultset.public static Resultset.Type[] values()
for (Resultset.Type c : Resultset.Type.values()) System.out.println(c);
public static Resultset.Type 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.Type fromValue(int rsType, Resultset.Type backupValue)