Skip to content

Remove hbmxml from tools#12539

Closed
koentsje wants to merge 9 commits into
hibernate:mainfrom
koentsje:remove-hbmxml-from-tools
Closed

Remove hbmxml from tools#12539
koentsje wants to merge 9 commits into
hibernate:mainfrom
koentsje:remove-hbmxml-from-tools

Conversation

@koentsje
Copy link
Copy Markdown
Member

Hibernate ORM 8.0 drops hbm.xml mapping file support. This PR aligns the tooling modules by removing all hbm.xml generation, transformation, and other related infrastructure.


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.


@hibernate-github-bot
Copy link
Copy Markdown

hibernate-github-bot Bot commented May 27, 2026

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern HHH-\d+
    ↳ Offending commits: [1092cbc, 0e9ec4a, 3f5e1d0, c05ff19, 8210bba, 14ab173, f95b958, 2e1927b, 9fa96d3]

› This message was automatically generated.

koentsje added 9 commits May 27, 2026 15:54
  - Remove hbm.xml generation and transformation support the from Maven plugin

Signed-off-by: Koen Aers <koen.aers@gmail.com>
  - Remove hbm.xml generation and transformation support from the Gradle plugin

Signed-off-by: Koen Aers <koen.aers@gmail.com>
  - Remove hbm.xml generation support from the Ant plugin

Signed-off-by: Koen Aers <koen.aers@gmail.com>
  - Remove the hbm.xml generation tests from hibernate-reveng

Signed-off-by: Koen Aers <koen.aers@gmail.com>
  - Remove more hbm.xml generation tests and strip HbmExporter usage from remaining tests

Signed-off-by: Koen Aers <koen.aers@gmail.com>
  - Convert SchemaExport, SchemaUpdate, and NativeMetadataDescriptor tests from hbm.xml to annotated entity and orm.xml

Signed-off-by: Koen Aers <koen.aers@gmail.com>
  - Convert remaining hbm.xml-dependent tests to annotated entities and delete tests that cannot be converted

Signed-off-by: Koen Aers <koen.aers@gmail.com>
  - Remove HbmExporter, MappingExporter, hbm templates, and strip Cfg2HbmTool

Signed-off-by: Koen Aers <koen.aers@gmail.com>
  - Rename HbmLint to Lint, Cfg2HbmTool to MappingTemplateHelper

Signed-off-by: Koen Aers <koen.aers@gmail.com>
@koentsje koentsje force-pushed the remove-hbmxml-from-tools branch from a63ed64 to 9fa96d3 Compare May 27, 2026 13:55
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
56.4% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@sebersole
Copy link
Copy Markdown
Member

Closing in favor of #12555, which incorporates this commits, but takes the next steps as well.

@sebersole sebersole closed this May 27, 2026
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.

2 participants