Package org.hibernate.loader.internal
Class BaseNaturalIdLoadAccessImpl<T>
java.lang.Object
org.hibernate.loader.internal.BaseNaturalIdLoadAccessImpl<T>
- All Implemented Interfaces:
NaturalIdLoadOptions
- Direct Known Subclasses:
NaturalIdLoadAccessImpl
,SimpleNaturalIdLoadAccessImpl
Base support for load-by-natural-id
-
Field Summary
Fields inherited from interface org.hibernate.loader.ast.spi.NaturalIdLoadOptions
NONE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BaseNaturalIdLoadAccessImpl
(LoadAccessContext context, EntityMappingType entityDescriptor) -
Method Summary
Modifier and TypeMethodDescriptiondisableFetchProfile
(String profileName) protected final T
doGetReference
(Object normalizedNaturalIdValue) protected final T
enableFetchProfile
(String profileName) protected EntityPersister
protected LoadAccessContext
protected final IdentifierLoadAccess<?>
The locking options for the loaded entityboolean
Whether Hibernate should perform "synchronization" prior to performing look-ups?protected void
protected void
synchronizationEnabled
(boolean synchronizationEnabled) with
(RootGraph<T> graph, GraphSemantic semantic) with
(LockOptions lockOptions)
-
Constructor Details
-
BaseNaturalIdLoadAccessImpl
protected BaseNaturalIdLoadAccessImpl(LoadAccessContext context, EntityMappingType entityDescriptor)
-
-
Method Details
-
getLockOptions
Description copied from interface:NaturalIdLoadOptions
The locking options for the loaded entity- Specified by:
getLockOptions
in interfaceNaturalIdLoadOptions
-
with
-
enableFetchProfile
-
disableFetchProfile
-
isSynchronizationEnabled
public boolean isSynchronizationEnabled()Description copied from interface:NaturalIdLoadOptions
Whether Hibernate should perform "synchronization" prior to performing look-ups?- Specified by:
isSynchronizationEnabled
in interfaceNaturalIdLoadOptions
-
with
-
synchronizationEnabled
protected void synchronizationEnabled(boolean synchronizationEnabled) -
performAnyNeededCrossReferenceSynchronizations
protected void performAnyNeededCrossReferenceSynchronizations() -
doGetReference
-
doLoad
-
getIdentifierLoadAccess
-
getContext
-
getEntityDescriptor
-
entityPersister
-