Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYTUxYTlhZjIy...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-16259?atlOrigin=eyJpIjoiYTUxYT...
) HHH-16259 (
https://hibernate.atlassian.net/browse/HHH-16259?atlOrigin=eyJpIjoiYTUxYT...
) Consider jakarta.persistence.database-product-name for SessionFactory dialect resolution
when using hibernate.temp.use_jdbc_metadata_defaults=false and versions are not provided (
https://hibernate.atlassian.net/browse/HHH-16259?atlOrigin=eyJpIjoiYTUxYT...
)
Change By: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
At the moment, when using {{hibernate.temp.use_jdbc_metadata_defaults=false}} and database
(e.g. {{jakarta.persistence.database-product-version}} versions are not set), the dialect
can only be configured through setting {{hibernate.dialect}} to an explicit dialect
class.
It would be nice to allow dialect resolution based on
{{jakarta.persistence.database-product-name}} only, and use Hibernate ORM’s own defaults
for dialect versions in that case when {{jakarta. persistence.database-product-version}}
is not set and {{hibernate.temp.use_jdbc_metadata_defaults=false}}.
(
https://hibernate.atlassian.net/browse/HHH-16259#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16259#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100217- sha1:45db922 )