DATAJPA-1632 - Update countQuery documentation.
It now reflects the behavior it has since version 1.6. Original pull request: #399
This commit is contained in:
@@ -45,13 +45,13 @@ public @interface Query {
|
||||
|
||||
/**
|
||||
* Defines a special count query that shall be used for pagination queries to lookup the total number of elements for
|
||||
* a page. If non is configured we will derive the count query from the method name.
|
||||
* a page. If non is configured we will derive the count query from the original query or {@link #countProjection()} query if any.
|
||||
*/
|
||||
String countQuery() default "";
|
||||
|
||||
/**
|
||||
* Defines the projection part of the count query that is generated for pagination. If neither {@link #countQuery()}
|
||||
* not {@link #countProjection()} is configured we will derive the count query from the method name.
|
||||
* not {@link #countProjection()} is configured we will derive the count query from the original query.
|
||||
*
|
||||
* @return
|
||||
* @since 1.6
|
||||
|
||||
Reference in New Issue
Block a user