From e43ae41f2d7aeee19f1647188ee977edd2fe68be Mon Sep 17 00:00:00 2001 From: Gavin King Date: Sat, 6 Apr 2024 11:34:25 +0200 Subject: [PATCH] properly include repeatable annotations in @SupportedAnnotationTypes this is required (see javadoc of Processor) Signed-off-by: Gavin King --- .../java/org/hibernate/processor/HibernateProcessor.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java index c13ebba806..a7f26dd2ea 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java @@ -65,9 +65,11 @@ import static org.hibernate.processor.util.TypeUtils.isClassOrRecordType; // standard for JPA 2 ENTITY, MAPPED_SUPERCLASS, EMBEDDABLE, // standard for JPA 3.2 - NAMED_QUERY, NAMED_NATIVE_QUERY, NAMED_ENTITY_GRAPH, SQL_RESULT_SET_MAPPING, + NAMED_QUERY, NAMED_QUERIES, NAMED_NATIVE_QUERY, NAMED_NATIVE_QUERIES, + NAMED_ENTITY_GRAPH, NAMED_ENTITY_GRAPHS, SQL_RESULT_SET_MAPPING, SQL_RESULT_SET_MAPPINGS, // extra for Hibernate - HIB_FETCH_PROFILE, HIB_FILTER_DEF, HIB_NAMED_QUERY, HIB_NAMED_NATIVE_QUERY, + HIB_FETCH_PROFILE, HIB_FETCH_PROFILES, HIB_FILTER_DEF, HIB_FILTER_DEFS, + HIB_NAMED_QUERY, HIB_NAMED_QUERIES, HIB_NAMED_NATIVE_QUERY, HIB_NAMED_NATIVE_QUERIES, // Hibernate query methods HQL, SQL, FIND, // Jakarta Data repositories