mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-10 05:04:52 +00:00
fix a code example I rushed last night
This commit is contained in:
parent
dd53ccf542
commit
fe466ddea8
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user