Uses of Interface
org.hibernate.IdentifierLoadAccess
Packages that use IdentifierLoadAccess
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 IdentifierLoadAccess in org.hibernate
Methods in org.hibernate that return IdentifierLoadAccessModifier and TypeMethodDescription<T> IdentifierLoadAccess<T>
Create anIdentifierLoadAccess
instance to retrieve an instance of the given entity type by its primary key.<T> IdentifierLoadAccess<T>
Create anIdentifierLoadAccess
instance to retrieve an instance of the named entity type by its primary key.IdentifierLoadAccess.disableFetchProfile
(String profileName) Customize the associations fetched by specifying a fetch profile that should be disabled during this operation.IdentifierLoadAccess.enableFetchProfile
(String profileName) Customize the associations fetched by specifying a fetch profile that should be enabled during this operation.default IdentifierLoadAccess<T>
IdentifierLoadAccess.with
(EntityGraph<T> graph) Deprecated.IdentifierLoadAccess.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.Specify theCacheMode
to use when obtaining an entity.default IdentifierLoadAccess<T>
Specify the lock mode to use when querying the database.IdentifierLoadAccess.with
(LockMode lockMode, PessimisticLockScope lockScope) Specify the lock mode to use when querying the database.IdentifierLoadAccess.with
(LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version.default IdentifierLoadAccess<T>
IdentifierLoadAccess.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 IdentifierLoadAccess<T>
IdentifierLoadAccess.withLoadGraph
(EntityGraph<T> graph) Augment the associations fetched by default by specifying a list of additional associations to be fetched as an entity graph.IdentifierLoadAccess.withReadOnly
(boolean readOnly) Specify whether the entity should be loaded in read-only mode. -
Uses of IdentifierLoadAccess in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return IdentifierLoadAccessModifier and TypeMethodDescription<T> IdentifierLoadAccess<T>
<T> IdentifierLoadAccess<T>
<T> IdentifierLoadAccess<T>
<T> IdentifierLoadAccess<T>
withLoadGraph(jakarta.persistence.EntityGraph<T>)