fix incorrect doc of CurrentTenantIdentifierResolver

This commit is contained in:
Gavin 2022-12-29 17:25:44 +01:00 committed by Gavin King
parent 7b493f30fb
commit 53982b78fb
2 changed files with 5 additions and 4 deletions

View File

@ -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.
* *

View File

@ -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
* *