Skip to content

HHH-20716 xml <hql-import> elements are parsed but never processed#13110

Merged
dreab8 merged 2 commits into
hibernate:8.0from
dreab8:HHH-20716_8.0
Jul 25, 2026
Merged

HHH-20716 xml <hql-import> elements are parsed but never processed#13110
dreab8 merged 2 commits into
hibernate:8.0from
dreab8:HHH-20716_8.0

Conversation

@dreab8

@dreab8 dreab8 commented Jul 24, 2026

Copy link
Copy Markdown
Member

Backport of #13106 for 8.0


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.



Please make sure that the following tasks are completed:
Tasks specific to HHH-20716 (Bug):

  • Add test reproducing the bug
  • Add entries as relevant to migration-guide.adoc OR check there are no breaking changes

https://hibernate.atlassian.net/browse/HHH-20716

dreab8 and others added 2 commits July 24, 2026 18:48
The <hql-import> elements in orm.xml were parsed into the JAXB model
but never processed. This adds collection of hql-imports during XML
processing (in DomainModelCategorizationCollector) and applies them
as imports during processQueryRenames() in the annotation processor.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dreab8 dreab8 added the 8.0 Label for pull requests targeting [8.0] branch. label Jul 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

@dreab8
dreab8 merged commit 3086dc3 into hibernate:8.0 Jul 25, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.0 Label for pull requests targeting [8.0] branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant