public enum SQLType extends java.lang.Enum<SQLType> implements ValueEnum
operationType "custom".| Enum Constant and Description |
|---|
QUERY
The custom SQL or HQL is read-only
|
UPDATE
The custom SQL or HQL updates data
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static SQLType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SQLType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLType QUERY
public static final SQLType UPDATE
public static SQLType[] values()
for (SQLType c : SQLType.values()) System.out.println(c);
public static SQLType 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