# 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/{majorMinorVersion}/javadocs/org/hibernate/boot/registry/StandardServiceRegistryBuilder.html[`StandardServiceRegistryBuilder`]]”, 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/quarkusio/quarkus/pull/31855|smart-link] |
|