HHH-16695 fill in missing javadoc

This commit is contained in:
Gavin King 2023-07-10 02:05:01 +02:00
parent cd75b0baf1
commit d5c4e2673b
3 changed files with 60 additions and 0 deletions

View File

@ -104,8 +104,28 @@ default IdentifierLoadAccess<T> with(RootGraph<T> graph) {
*/
IdentifierLoadAccess<T> with(RootGraph<T> graph, GraphSemantic semantic);
/**
* Customize the associations fetched by specifying a
* {@linkplain org.hibernate.annotations.FetchProfile fetch profile}
* that should be enabled during this operation.
* <p>
* This allows the {@linkplain Session#isFetchProfileEnabled(String)
* session-level fetch profiles} to be temporarily overridden.
*
* @since 6.3
*/
IdentifierLoadAccess<T> enableFetchProfile(String profileName);
/**
* Customize the associations fetched by specifying a
* {@linkplain org.hibernate.annotations.FetchProfile fetch profile}
* that should be disabled during this operation.
* <p>
* This allows the {@linkplain Session#isFetchProfileEnabled(String)
* session-level fetch profiles} to be temporarily overridden.
*
* @since 6.3
*/
IdentifierLoadAccess<T> disableFetchProfile(String profileName);
/**

View File

@ -44,8 +44,28 @@ public interface NaturalIdLoadAccess<T> {
*/
NaturalIdLoadAccess<T> with(LockOptions lockOptions);
/**
* Customize the associations fetched by specifying a
* {@linkplain org.hibernate.annotations.FetchProfile fetch profile}
* that should be enabled during this operation.
* <p>
* This allows the {@linkplain Session#isFetchProfileEnabled(String)
* session-level fetch profiles} to be temporarily overridden.
*
* @since 6.3
*/
NaturalIdLoadAccess<T> enableFetchProfile(String profileName);
/**
* Customize the associations fetched by specifying a
* {@linkplain org.hibernate.annotations.FetchProfile fetch profile}
* that should be disabled during this operation.
* <p>
* This allows the {@linkplain Session#isFetchProfileEnabled(String)
* session-level fetch profiles} to be temporarily overridden.
*
* @since 6.3
*/
NaturalIdLoadAccess<T> disableFetchProfile(String profileName);
/**

View File

@ -37,8 +37,28 @@ public interface SimpleNaturalIdLoadAccess<T> {
*/
SimpleNaturalIdLoadAccess<T> with(LockOptions lockOptions);
/**
* Customize the associations fetched by specifying a
* {@linkplain org.hibernate.annotations.FetchProfile fetch profile}
* that should be enabled during this operation.
* <p>
* This allows the {@linkplain Session#isFetchProfileEnabled(String)
* session-level fetch profiles} to be temporarily overridden.
*
* @since 6.3
*/
SimpleNaturalIdLoadAccess<T> enableFetchProfile(String profileName);
/**
* Customize the associations fetched by specifying a
* {@linkplain org.hibernate.annotations.FetchProfile fetch profile}
* that should be disabled during this operation.
* <p>
* This allows the {@linkplain Session#isFetchProfileEnabled(String)
* session-level fetch profiles} to be temporarily overridden.
*
* @since 6.3
*/
SimpleNaturalIdLoadAccess<T> disableFetchProfile(String profileName);
/**