properly include repeatable annotations in @SupportedAnnotationTypes

this is required (see javadoc of Processor)

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-04-06 11:34:25 +02:00
parent b0368e7135
commit e43ae41f2d
1 changed files with 4 additions and 2 deletions

View File

@ -65,9 +65,11 @@ import static org.hibernate.processor.util.TypeUtils.isClassOrRecordType;
// standard for JPA 2 // standard for JPA 2
ENTITY, MAPPED_SUPERCLASS, EMBEDDABLE, ENTITY, MAPPED_SUPERCLASS, EMBEDDABLE,
// standard for JPA 3.2 // 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 // 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 // Hibernate query methods
HQL, SQL, FIND, HQL, SQL, FIND,
// Jakarta Data repositories // Jakarta Data repositories