mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-27 22:39:13 +00:00
fix incorrect doc of CurrentTenantIdentifierResolver
This commit is contained in:
parent
7b493f30fb
commit
53982b78fb
@ -356,8 +356,7 @@ public interface SessionFactoryBuilder {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Specifies a {@link CurrentTenantIdentifierResolver} that is responsible for
|
* Specifies a {@link CurrentTenantIdentifierResolver} that is responsible for
|
||||||
* resolving the current tenant identifier when
|
* resolving the current tenant identifier.
|
||||||
* {@link org.hibernate.SessionFactory#getCurrentSession()} is used.
|
|
||||||
*
|
*
|
||||||
* @param resolver The resolution strategy to use.
|
* @param resolver The resolution strategy to use.
|
||||||
*
|
*
|
||||||
|
@ -8,8 +8,10 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A callback registered with the {@link org.hibernate.SessionFactory} that is responsible
|
* A callback registered with the {@link org.hibernate.SessionFactory} that is responsible
|
||||||
* for resolving the current tenant identifier for use with {@link CurrentSessionContext}
|
* for resolving the current tenant identifier.
|
||||||
* and {@link org.hibernate.SessionFactory#getCurrentSession()}.
|
* <p>
|
||||||
|
* An implementation may be selected by setting the configuration property
|
||||||
|
* {@value org.hibernate.cfg.AvailableSettings#MULTI_TENANT_IDENTIFIER_RESOLVER}.
|
||||||
*
|
*
|
||||||
* @see org.hibernate.annotations.TenantId
|
* @see org.hibernate.annotations.TenantId
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user