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
|
@Find
|
||||||
List<Bean> beansForText(String text);
|
List<Bean> beansForText(String text);
|
||||||
|
|
||||||
|
@Find
|
||||||
|
Bean[] beansAsArray(String text);
|
||||||
|
|
||||||
@HQL("where isbn = ?1")
|
@HQL("where isbn = ?1")
|
||||||
List<Book> sortedBooksForIsbn(String isbn, Order<? super Book>... order);
|
List<Book> sortedBooksForIsbn(String isbn, Order<? super Book>... order);
|
||||||
|
|
||||||
|
|
|
@ -66,6 +66,9 @@ public interface BookAuthorRepository {
|
||||||
@Find
|
@Find
|
||||||
List<Book> byPubDate3(LocalDate publicationDate, Sort<? super Book>... order);
|
List<Book> byPubDate3(LocalDate publicationDate, Sort<? super Book>... order);
|
||||||
|
|
||||||
|
@Find
|
||||||
|
Book[] bookArrayByTitle(String title);
|
||||||
|
|
||||||
@Insert
|
@Insert
|
||||||
void create(Book book);
|
void create(Book book);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue