public enum ResultSetType extends Enum<ResultSetType>
ResultSet
objects with the given type.ResultSet
Enum Constant and Description |
---|
DEFAULT
Be type TYPE_FORWARD_ONLY
|
TYPE_FORWARD_ONLY |
TYPE_SCROLL_INSENSITIVE |
TYPE_SCROLL_SENSITIVE |
Modifier and Type | Method and Description |
---|---|
static ResultSetType |
get(String type) |
int |
getTypeScroll() |
static ResultSetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultSetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultSetType DEFAULT
public static final ResultSetType TYPE_FORWARD_ONLY
public static final ResultSetType TYPE_SCROLL_SENSITIVE
public static final ResultSetType TYPE_SCROLL_INSENSITIVE
public static ResultSetType[] values()
for (ResultSetType c : ResultSetType.values()) System.out.println(c);
public static ResultSetType 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 static ResultSetType get(String type)
type
- String that represent enum ignoring casetype
, type of not found return DEFAULT
enum.public int getTypeScroll()
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.