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 aNaturalIdLoadAccessinstance 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 aNaturalIdLoadAccessinstance 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@NaturalIdattribute value in a typesafe way.Add a@NaturalIdattribute value.Set multiple@NaturalIdattribute values at once.NaturalIdLoadAccess.with(EntityGraph<T> graph, GraphSemantic semantic) Customize the associations fetched by specifying an entity graph, and how it should be interpreted.Specify the timeout to use when querying the database.default NaturalIdLoadAccess<T> Specify the lock mode to use when querying the database.NaturalIdLoadAccess.with(LockMode lockMode, PessimisticLockScope lockScope) Specify the lock mode to use when querying the database.NaturalIdLoadAccess.with(LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version.Use one of with(LockMode), with(LockMode, PessimisticLockScope) and/or with(Timeout) instead.default NaturalIdLoadAccess<T> NaturalIdLoadAccess.withFetchGraph(EntityGraph<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(EntityGraph<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(EntityGraph<T> graph, GraphSemantic semantic) NaturalIdLoadAccessImpl.with(LockMode lockMode, PessimisticLockScope lockScope)