diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Dao.java b/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Dao.java index 97c9d15ea9..4552da1d80 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Dao.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Dao.java @@ -109,6 +109,9 @@ public interface Dao { @Find List beansForText(String text); + @Find + Bean[] beansAsArray(String text); + @HQL("where isbn = ?1") List sortedBooksForIsbn(String isbn, Order... order); diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/data/BookAuthorRepository.java b/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/data/BookAuthorRepository.java index a1e86f96c8..a984b1f429 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/data/BookAuthorRepository.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/data/BookAuthorRepository.java @@ -66,6 +66,9 @@ public interface BookAuthorRepository { @Find List byPubDate3(LocalDate publicationDate, Sort... order); + @Find + Book[] bookArrayByTitle(String title); + @Insert void create(Book book);