public static enum QueryInfo.StatementType extends Enum<QueryInfo.StatementType>
Enum Constant and Description |
---|
CALLABLE
The setParameters method will supply a
#setParameters(java.sql.CallableStatement) . |
PREPARED
The setParameters method will supply a
QueryInfo.setParameters(java.sql.PreparedStatement) . |
Modifier and Type | Method and Description |
---|---|
static QueryInfo.StatementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryInfo.StatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryInfo.StatementType PREPARED
QueryInfo.setParameters(java.sql.PreparedStatement)
.public static final QueryInfo.StatementType CALLABLE
#setParameters(java.sql.CallableStatement)
.public static QueryInfo.StatementType[] values()
for (QueryInfo.StatementType c : QueryInfo.StatementType.values()) System.out.println(c);
public static QueryInfo.StatementType 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