fix a code example I rushed last night

This commit is contained in:
Gavin King 2024-03-21 11:14:11 +01:00
parent 22966aea6a
commit 1d9f4fe55f
1 changed files with 2 additions and 2 deletions

View File

@ -586,8 +586,8 @@ A generated query or finder method can make use of <<key-based-pagination,key-ba
[source,java]
----
@Query("from Book where publicationDate > :minDate")
KeyedResultList<Book> booksFromDate(Session session, LocalDate minDate, KeyedPage page);
@Query("where publicationDate > :minDate")
KeyedResultList<Book> booksFromDate(Session session, LocalDate minDate, KeyedPage<Book> page);
----
Note that this method: