@Target(TYPE)
@Retention(RUNTIME)
public @interface Query
Modifier and Type | Required Element | Description |
---|---|---|
java.lang.String |
name |
Name of the query (mandatory)
|
java.lang.String |
value |
The query string (mandatory)
|
Modifier and Type | Optional Element | Description |
---|---|---|
Extension[] |
extensions |
Vendor extensions.
|
java.lang.String |
fetchPlan |
The name of the fetch plan used by this query
|
java.lang.String |
language |
The query language
|
java.lang.Class |
resultClass |
Result class into which to put the results.
|
java.lang.String |
unique |
Whether the query returns a single unique result.
|
java.lang.String |
unmodifiable |
Whether the query is unmodifiable.
|
java.lang.String name
java.lang.String unmodifiable
java.lang.String unique
java.lang.Class resultClass
java.lang.String fetchPlan
Extension[] extensions