HHH-16310 Update reference documentation regarding multitenancy

* Remove mentions of 'hibernate.multiTenancy'. This setting no longer exists.
* Fix a few other inconsistencies.
This commit is contained in:
Yoann Rodière 2023-03-15 09:58:38 +01:00
parent e08b59a063
commit b72d25ddbe
No known key found for this signature in database
GPG Key ID: C78C6E63D1D81794
1 changed files with 1 additions and 4 deletions

View File

@ -790,10 +790,7 @@ The default behavior is to allow access unless the `Session` is bootstrapped via
[[configurations-multi-tenancy]]
=== Multi-tenancy settings
`*hibernate.multiTenancy*` (e.g. `NONE` (default value), `SCHEMA`, `DATABASE`, and `DISCRIMINATOR` (not implemented yet))::
The multi-tenancy strategy in use.
`*hibernate.multi_tenant_connection_provider*` (e.g. `true` or `false` (default value))::
`*hibernate.multi_tenant_connection_provider*`::
Names a https://docs.jboss.org/hibernate/orm/{majorMinorVersion}/javadocs/org/hibernate/engine/jdbc/connections/spi/MultiTenantConnectionProvider.html[`MultiTenantConnectionProvider`] implementation to use. As `MultiTenantConnectionProvider` is also a service, can be configured directly through the https://docs.jboss.org/hibernate/orm/{majorMinorVersion}/javadocs/org/hibernate/boot/registry/StandardServiceRegistryBuilder.html[`StandardServiceRegistryBuilder`].
`*hibernate.tenant_identifier_resolver*`::