@Retention(value=RUNTIME)
@Target(value={METHOD,ANNOTATION_TYPE})
@Documented
public @interface DynamicQuery
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
countProjection
Defines the projection part of the count query template that is generated for pagination.
|
java.lang.String |
countQuery
Defines a special count query template that shall be used for pagination queries to lookup the total number
of elements for a page.
|
boolean |
nativeQuery
Configures whether the given query is a native one.
|
java.lang.String |
value
Defines the JPA query template to be executed when the annotated method is called.
|
public abstract java.lang.String value
public abstract java.lang.String countQuery