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 615267f61d
commit cc8f1f1020
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]] [[configurations-multi-tenancy]]
=== Multi-tenancy settings === Multi-tenancy settings
`*hibernate.multiTenancy*` (e.g. `NONE` (default value), `SCHEMA`, `DATABASE`, and `DISCRIMINATOR` (not implemented yet)):: `*hibernate.multi_tenant_connection_provider*`::
The multi-tenancy strategy in use.
`*hibernate.multi_tenant_connection_provider*` (e.g. `true` or `false` (default value))::
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`]. 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*`:: `*hibernate.tenant_identifier_resolver*`::