Skip to content

Add missing metadata for hibernate-7.0.x annotations without attributes.#702

Merged
fniephaus merged 1 commit intooracle:masterfrom
christophstrobl:issue/700
Oct 29, 2025
Merged

Add missing metadata for hibernate-7.0.x annotations without attributes.#702
fniephaus merged 1 commit intooracle:masterfrom
christophstrobl:issue/700

Conversation

@christophstrobl
Copy link
Copy Markdown
Contributor

This PR updates hibernate-core metadata and the test that captures annotations without attributes.
Those had been missed when collecting metadata in earlier runs since the loop did not consider the case of empty attributes returned by the AnnotationDescriptor. In case the annotation does not have any attributes the constructors of the hibernate internal annotation implementing types are now invoked, simulating what hibernate does internally during bootstrap via its ModelHelper .

What does this PR do?

Fixes: #700

Code sections where the PR accesses files, network, docker or some external service

  • n/a

Checklist before merging

…utes.

This commit updates the test to captures annotations without attributes that had been missed when collecting metadata in earlier runs.
Copy link
Copy Markdown
Member

@fniephaus fniephaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@fniephaus fniephaus merged commit bdfe8e1 into oracle:master Oct 29, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add metadata for Hibernate 7.1

3 participants