protected static enum PreparableStatement.PreparedState extends java.lang.Enum<PreparableStatement.PreparedState>
Enum Constant and Description |
---|
DEALLOCATE |
PREPARE |
PREPARED |
REPREPARE |
SUSPENDED |
UNPREPARED |
UNSUPPORTED |
Modifier and Type | Method and Description |
---|---|
static PreparableStatement.PreparedState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PreparableStatement.PreparedState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreparableStatement.PreparedState UNSUPPORTED
public static final PreparableStatement.PreparedState UNPREPARED
public static final PreparableStatement.PreparedState SUSPENDED
public static final PreparableStatement.PreparedState PREPARED
public static final PreparableStatement.PreparedState PREPARE
public static final PreparableStatement.PreparedState DEALLOCATE
public static final PreparableStatement.PreparedState REPREPARE
public static PreparableStatement.PreparedState[] values()
for (PreparableStatement.PreparedState c : PreparableStatement.PreparedState.values()) System.out.println(c);
public static PreparableStatement.PreparedState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null