HHH-16955 add test for query method generation with 'join fetch'

This commit is contained in:
Gavin King 2023-07-20 16:29:21 +02:00
parent 2a773b06ce
commit 94f94f745c
1 changed files with 3 additions and 0 deletions

View File

@ -44,4 +44,7 @@ public interface Dao {
@Find @Find
List<Book> publishedBooks(String publisher$name); List<Book> publishedBooks(String publisher$name);
@HQL("from Book book join fetch book.publisher where book.title like :titlePattern")
List<Book> booksWithPublisherByTitle(String titlePattern, Page page, Order<? super Book> order);
} }