public enum ResultSetType extends Enum<ResultSetType>
Enum Constant and Description |
---|
DEFAULT
behavior with same as unset (driver dependent).
|
FORWARD_ONLY |
SCROLL_INSENSITIVE |
SCROLL_SENSITIVE |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
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 FORWARD_ONLY
public static final ResultSetType SCROLL_INSENSITIVE
public static final ResultSetType SCROLL_SENSITIVE
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 int getValue()
Copyright © 2009–2021 MyBatis.org. All rights reserved.