Enum Constant and Description |
---|
HQL
The query is using Hibernate Query Language.
|
SQL
The query is using Structured Query Language.
|
Modifier and Type | Method and Description |
---|---|
static QueryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryType HQL
public static final QueryType SQL
public static QueryType[] values()
for (QueryType c : QueryType.values()) System.out.println(c);
public static QueryType 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