HHH-16955 add test for query method generation with 'join fetch'
This commit is contained in:
parent
2a773b06ce
commit
94f94f745c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue