hibernate.boot.allow_jdbc_metadata_access=false leads to warning about "0.0.0 version"

Description

When setting hibernate.boot.allow_jdbc_metadata_access=false, the dialect is supposed to default to the minimum supported version, but it apparently defaults to 0.0.0, leading to this warning:

09:10:52,540 WARN Dialect:354 - HHH000511: The 0.0.0 version for [org.hibernate.dialect.OracleDialect] is no longer supported, hence certain features may not work properly. The minimum supported version is 19.0.0. Check the community dialects project for available legacy versions.

This happens regardless of whether one uses hibernate.dialect or jakarta.persistence.database-product-name to select the dialect.

Activity

Steve EbersoleMay 10, 2024 at 4:00 PM
Edited

Updated the 6.5 migration guide as well, since this change makes some of the information there out of date

Steve EbersoleMay 8, 2024 at 12:09 PM

Did you create a 6.5 PR as well?

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created May 7, 2024 at 7:27 AM
Updated May 13, 2024 at 7:22 PM
Resolved May 10, 2024 at 4:01 PM