Uses of Interface
org.hibernate.SimpleNaturalIdLoadAccess
Packages that use SimpleNaturalIdLoadAccess
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.
-
Uses of SimpleNaturalIdLoadAccess in org.hibernate
Methods in org.hibernate that return SimpleNaturalIdLoadAccessModifier and TypeMethodDescription<T> SimpleNaturalIdLoadAccess<T>
Session.bySimpleNaturalId
(Class<T> entityClass) Create aSimpleNaturalIdLoadAccess
instance to retrieve an instance of the given entity type by its natural id, which must be a simple (non-composite) value.<T> SimpleNaturalIdLoadAccess<T>
Session.bySimpleNaturalId
(String entityName) Create aSimpleNaturalIdLoadAccess
instance to retrieve an instance of the named entity type by its natural id, which must be a simple (non-composite) value.SimpleNaturalIdLoadAccess.disableFetchProfile
(String profileName) Customize the associations fetched by specifying a fetch profile that should be disabled during this operation.SimpleNaturalIdLoadAccess.enableFetchProfile
(String profileName) Customize the associations fetched by specifying a fetch profile that should be enabled during this operation.SimpleNaturalIdLoadAccess.setSynchronizationEnabled
(boolean enabled) For entities with mutable natural ids, should Hibernate perform "synchronization" prior to performing lookups? The default is to perform "synchronization" (for correctness).SimpleNaturalIdLoadAccess.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 SimpleNaturalIdLoadAccess<T>
Specify the lock mode to use when querying the database.SimpleNaturalIdLoadAccess.with
(LockMode lockMode, PessimisticLockScope lockScope) Specify the lock mode to use when querying the database.SimpleNaturalIdLoadAccess.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 SimpleNaturalIdLoadAccess<T>
SimpleNaturalIdLoadAccess.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 SimpleNaturalIdLoadAccess<T>
SimpleNaturalIdLoadAccess.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 SimpleNaturalIdLoadAccess in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return SimpleNaturalIdLoadAccessModifier and TypeMethodDescription<T> SimpleNaturalIdLoadAccess<T>
SessionDelegatorBaseImpl.bySimpleNaturalId
(Class<T> entityClass) <T> SimpleNaturalIdLoadAccess<T>
SessionDelegatorBaseImpl.bySimpleNaturalId
(String entityName) <T> SimpleNaturalIdLoadAccess<T>
SessionLazyDelegator.bySimpleNaturalId
(Class<T> entityClass) <T> SimpleNaturalIdLoadAccess<T>
SessionLazyDelegator.bySimpleNaturalId
(String entityName)