Skip to content

chore(logging): silence Hibernate hbm.xml deprecation warning (HHH90000028)#6395

Merged
delchev merged 1 commit into
masterfrom
chore/silence-hibernate-hbm-deprecation
Jul 23, 2026
Merged

chore(logging): silence Hibernate hbm.xml deprecation warning (HHH90000028)#6395
delchev merged 1 commit into
masterfrom
chore/silence-hibernate-hbm-deprecation

Conversation

@delchev

@delchev delchev commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Problem

On startup / synchronization Hibernate logs a recurring WARN:

[WARN] org.hibernate.orm.deprecation - HHH90000028: Support for `<hibernate-mappings/>`
is deprecated [INPUT_STREAM : null]; migrate to orm.xml or mapping.xml, or enable
`hibernate.transform_hbm_xml.enabled` for on the fly transformation

The legacy hbm.xml mapping originates from a third-party dependency, not from Dirigible, so there is nothing on our side to migrate — the message is pure noise.

Change

Set the org.hibernate.orm.deprecation logger to ERROR in the bundled logback.xml, alongside the existing targeted mutes (net.snowflake.client, sharepoint). One line.

🤖 Generated with Claude Code

…00028)

Hibernate logs a WARN on startup/sync:
  HHH90000028: Support for `<hibernate-mappings/>` is deprecated ...; migrate to
  orm.xml or mapping.xml ...

The legacy hbm.xml mapping comes from a third-party dependency, not from Dirigible,
so the notice is noise we cannot act on. Set the org.hibernate.orm.deprecation logger
to ERROR, alongside the existing targeted mutes (snowflake, sharepoint).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@delchev
delchev merged commit eb09c56 into master Jul 23, 2026
8 of 9 checks passed
@delchev
delchev deleted the chore/silence-hibernate-hbm-deprecation branch July 23, 2026 04:25
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.

1 participant