public static enum ResultSetIterator.CloseStrategy extends Enum<ResultSetIterator.CloseStrategy>
| Enum Constant and Description |
|---|
CLOSE_CONNECTION
Closes statement and connection
|
CLOSE_NOTHING |
CLOSE_STATEMENT |
| Modifier and Type | Method and Description |
|---|---|
static ResultSetIterator.CloseStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultSetIterator.CloseStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultSetIterator.CloseStrategy CLOSE_NOTHING
public static final ResultSetIterator.CloseStrategy CLOSE_STATEMENT
public static final ResultSetIterator.CloseStrategy CLOSE_CONNECTION
public static ResultSetIterator.CloseStrategy[] values()
for (ResultSetIterator.CloseStrategy c : ResultSetIterator.CloseStrategy.values()) System.out.println(c);
public static ResultSetIterator.CloseStrategy 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 null