Skip to content

HHH-20778 Register BIT DDL type for OracleLegacyDialect - #13176

Open
Daders wants to merge 1 commit into
hibernate:7.4from
Daders:HHH-20778
Open

HHH-20778 Register BIT DDL type for OracleLegacyDialect#13176
Daders wants to merge 1 commit into
hibernate:7.4from
Daders:HHH-20778

Conversation

@Daders

@Daders Daders commented Aug 11, 2026

Copy link
Copy Markdown

OracleLegacyDialect does not register a DDL type descriptor for SqlTypes.BIT.

OracleBooleanJdbcType uses BIT as its DDL type code. As a result, Boolean mappings can fail during metadata bootstrap because Hibernate cannot resolve the corresponding DDL type.

OracleLegacyDialect already maps BIT to number(1,0) in columnType(), while OracleDialect also registers the corresponding DdlType descriptor.

This change adds the missing BIT -> number(1,0) DDL type registration to OracleLegacyDialect.


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.


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

Signed-off-by: dader <shaymardanov.timur@gmail.com>
@hibernate-github-bot hibernate-github-bot Bot added the 7.4 Label for pull requests targeting [7.4] branch. label Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

7.4 Label for pull requests targeting [7.4] branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant