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
* resolving the current tenant identifier when
* {@link org.hibernate.SessionFactory#getCurrentSession()} is used.
* resolving the current tenant identifier.
*
* @param resolver The resolution strategy to use.
*

View File

@ -8,8 +8,10 @@ package org.hibernate.context.spi;
/**
* A callback registered with the {@link org.hibernate.SessionFactory} that is responsible
* for resolving the current tenant identifier for use with {@link CurrentSessionContext}
* and {@link org.hibernate.SessionFactory#getCurrentSession()}.
* for resolving the current tenant identifier.
* <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
*