HHH-17772 allow array as return type for @Find methods
add tests
This commit is contained in:
parent
7ad39a86e9
commit
3ca494be79
|
@ -109,6 +109,9 @@ public interface Dao {
|
|||
@Find
|
||||
List<Bean> beansForText(String text);
|
||||
|
||||
@Find
|
||||
Bean[] beansAsArray(String text);
|
||||
|
||||
@HQL("where isbn = ?1")
|
||||
List<Book> sortedBooksForIsbn(String isbn, Order<? super Book>... order);
|
||||
|
||||
|
|
|
@ -66,6 +66,9 @@ public interface BookAuthorRepository {
|
|||
@Find
|
||||
List<Book> byPubDate3(LocalDate publicationDate, Sort<? super Book>... order);
|
||||
|
||||
@Find
|
||||
Book[] bookArrayByTitle(String title);
|
||||
|
||||
@Insert
|
||||
void create(Book book);
|
||||
|
||||
|
|
Loading…
Reference in New Issue