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 loading by natural id.
-
Field Summary
Fields inherited from interface org.hibernate.loader.ast.spi.NaturalIdLoadOptions
NONE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseNaturalIdLoadAccessImpl(LoadAccessContext context, EntityMappingType entityDescriptor) -
Method Summary
Modifier and TypeMethodDescriptiondisableFetchProfile(String profileName) protected final TdoGetReference(Object normalizedNaturalIdValue) protected final TenableFetchProfile(String profileName) protected EntityPersisterprotected LoadAccessContextThe locking options for the loaded entityprotected final IdentifierLoadAccess<T> booleanWhether Hibernate should perform "synchronization" prior to performing look-ups?protected voidsynchronizationEnabled(boolean synchronizationEnabled) with(EntityGraph<T> graph, GraphSemantic semantic) protected Objectprotected Objectwith(LockMode lockMode, PessimisticLockScope lockScope) with(LockOptions lockOptions)
-
Constructor Details
-
BaseNaturalIdLoadAccessImpl
protected BaseNaturalIdLoadAccessImpl(LoadAccessContext context, EntityMappingType entityDescriptor)
-
-
Method Details
-
getLockOptions
Description copied from interface:NaturalIdLoadOptionsThe locking options for the loaded entity- Specified by:
getLockOptionsin interfaceNaturalIdLoadOptions
-
with
-
with
-
with
-
enableFetchProfile
-
disableFetchProfile
-
isSynchronizationEnabled
public boolean isSynchronizationEnabled()Description copied from interface:NaturalIdLoadOptionsWhether Hibernate should perform "synchronization" prior to performing look-ups?- Specified by:
isSynchronizationEnabledin interfaceNaturalIdLoadOptions
-
with
-
synchronizationEnabled
protected void synchronizationEnabled(boolean synchronizationEnabled) -
doGetReference
-
doLoad
-
identifierLoadAccess
-
getContext
-
getEntityDescriptor
-
entityPersister
-