Uses of Interface
org.hibernate.NaturalIdLoadAccess
Packages that use NaturalIdLoadAccess
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory
, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session
and StatelessSession
,
the most important APIs exposing persistence-related operations for
entities.This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.-
Uses of NaturalIdLoadAccess in org.hibernate
Methods in org.hibernate that return NaturalIdLoadAccessModifier and TypeMethodDescription<T> NaturalIdLoadAccess<T>
Session.byNaturalId
(Class<T> entityClass) Create aNaturalIdLoadAccess
instance to retrieve an instance of the given entity type by its natural id, which may be a composite natural id.<T> NaturalIdLoadAccess<T>
Session.byNaturalId
(String entityName) Create aNaturalIdLoadAccess
instance to retrieve an instance of the named entity type by its natural id, which may be a composite natural id.NaturalIdLoadAccess.disableFetchProfile
(String profileName) Customize the associations fetched by specifying a fetch profile that should be disabled during this operation.NaturalIdLoadAccess.enableFetchProfile
(String profileName) Customize the associations fetched by specifying a fetch profile that should be enabled during this operation.NaturalIdLoadAccess.setSynchronizationEnabled
(boolean enabled) Determines if cached natural id cross-references are synchronized before query execution with unflushed modifications made in memory to mutable natural ids.<X> NaturalIdLoadAccess<T>
NaturalIdLoadAccess.using
(SingularAttribute<? super T, X> attribute, X value) Add a@NaturalId
attribute value in a typesafe way.Add a@NaturalId
attribute value.Set multiple@NaturalId
attribute values at once.NaturalIdLoadAccess.with
(RootGraph<T> graph, GraphSemantic semantic) Customize the associations fetched by specifying an entity graph, and how it should be interpreted.NaturalIdLoadAccess.with
(LockOptions lockOptions) Specify the lock options to use when querying the database.default NaturalIdLoadAccess<T>
NaturalIdLoadAccess.withFetchGraph
(RootGraph<T> graph) Override the associations fetched by default by specifying the complete list of associations to be fetched as an entity graph.default NaturalIdLoadAccess<T>
NaturalIdLoadAccess.withLoadGraph
(RootGraph<T> graph) Augment the associations fetched by default by specifying a list of additional associations to be fetched as an entity graph. -
Uses of NaturalIdLoadAccess in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return NaturalIdLoadAccessModifier and TypeMethodDescription<T> NaturalIdLoadAccess<T>
SessionDelegatorBaseImpl.byNaturalId
(Class<T> entityClass) <T> NaturalIdLoadAccess<T>
SessionDelegatorBaseImpl.byNaturalId
(String entityName) <T> NaturalIdLoadAccess<T>
SessionLazyDelegator.byNaturalId
(Class<T> entityClass) <T> NaturalIdLoadAccess<T>
SessionLazyDelegator.byNaturalId
(String entityName) -
Uses of NaturalIdLoadAccess in org.hibernate.internal
Methods in org.hibernate.internal that return NaturalIdLoadAccessModifier and TypeMethodDescription<T> NaturalIdLoadAccess<T>
SessionImpl.byNaturalId
(Class<T> entityClass) <T> NaturalIdLoadAccess<T>
SessionImpl.byNaturalId
(String entityName) -
Uses of NaturalIdLoadAccess in org.hibernate.loader.internal
Classes in org.hibernate.loader.internal that implement NaturalIdLoadAccessMethods in org.hibernate.loader.internal that return NaturalIdLoadAccessModifier and TypeMethodDescriptionNaturalIdLoadAccessImpl.disableFetchProfile
(String profileName) NaturalIdLoadAccessImpl.enableFetchProfile
(String profileName) <X> NaturalIdLoadAccess<T>
NaturalIdLoadAccessImpl.using
(SingularAttribute<? super T, X> attribute, X value) NaturalIdLoadAccessImpl.with
(RootGraph<T> graph, GraphSemantic semantic)