From db1b3b3f40ef4263d3058a6406b2c44b2e109af7 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Tue, 5 Mar 2024 17:55:17 +0100 Subject: [PATCH] HHH-17807 add test --- .../src/test/java/org/hibernate/processor/test/hqlsql/Dao.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Dao.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Dao.java index e1efc74023..2725e3d901 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Dao.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Dao.java @@ -69,4 +69,7 @@ public interface Dao { @HQL("from Publisher where address = :address") List publisherAt(Address address); + + @HQL("where array_contains(:isbns, isbn) is true") + List forIsbnIn(String[] isbns); }