Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZGU4Yzk4NGNk...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16310?atlOrigin=eyJpIjoiZGU4Yz...
) HHH-16310 (
https://hibernate.atlassian.net/browse/HHH-16310?atlOrigin=eyJpIjoiZGU4Yz...
) Fix regressions in documentation and support for MultiTenantConnectionProvider (
https://hibernate.atlassian.net/browse/HHH-16310?atlOrigin=eyJpIjoiZGU4Yz...
)
Change By: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
# The setting 'hibernate.multiTenancy' has been removed in a previous PR and is
ignored, but is still documented as existing.
# The documentation for {{hibernate.multi_tenant_connection_provider}} states that “As
`MultiTenantConnectionProvider` is also a service, can be configured directly through the
[
StandardServiceRegistryBuilder|https://docs.jboss.org/hibernate/orm/{majo...,
but that’s wrong: some parts of the code infer that multi-tenancy is enabled or not based
on whether {{hibernate.multi_tenant_connection_provider}} is set or not.
#2 is particularly problematic as it causes Hibernate ORM to fail to retrieve JDBC
metadata when the {{MultiTenantConnectionProvider}} is set directly through the service
registry builder. See
[
https://github.com/quarkusio/quarkus/pull/31855|https://github.com/quarku...]
(
https://hibernate.atlassian.net/browse/HHH-16310#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16310#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:fd7c927 )