fix a code example I rushed last night

This commit is contained in:
Gavin King 2024-03-21 11:14:11 +01:00 committed by Christian Beikov
parent dd53ccf542
commit fe466ddea8
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: