Skip to content

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

Merged
sebersole merged 2 commits into
hibernate:mainfrom
dreab8:HHH-20716
Jul 24, 2026
Merged

HHH-20716 xml <hql-import> elements are parsed but never processed#13106
sebersole merged 2 commits into
hibernate:mainfrom
dreab8:HHH-20716

Conversation

@dreab8

@dreab8 dreab8 commented Jul 23, 2026

Copy link
Copy Markdown
Member

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


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

dreab8 and others added 2 commits July 23, 2026 18:17
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>
@sonarqubecloud

Copy link
Copy Markdown

@sebersole
sebersole merged commit b2d2a44 into hibernate:main Jul 24, 2026
37 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.

3 participants