Class CompoundNaturalIdLoader<T>
java.lang.Object
org.hibernate.loader.ast.internal.AbstractNaturalIdLoader<T>
org.hibernate.loader.ast.internal.CompoundNaturalIdLoader<T>
- All Implemented Interfaces:
EntityLoader
,Loader
,MultiKeyLoader
,NaturalIdLoader<T>
NaturalIdLoader implementation for compound natural-ids
-
Constructor Summary
ConstructorsConstructorDescriptionCompoundNaturalIdLoader
(CompoundNaturalIdMapping naturalIdMapping, EntityMappingType entityDescriptor) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyNaturalIdRestriction
(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter, JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session) Apply restriction necessary to match the given natural-id value.Methods inherited from class org.hibernate.loader.ast.internal.AbstractNaturalIdLoader
entityDescriptor, getLoadable, load, naturalIdMapping, resolveColumnReference, resolveIdToNaturalId, resolveNaturalIdToId, selectByNaturalId
-
Constructor Details
-
CompoundNaturalIdLoader
public CompoundNaturalIdLoader(CompoundNaturalIdMapping naturalIdMapping, EntityMappingType entityDescriptor)
-
-
Method Details