<T> IdentifierLoadAccess<T> |
Session.byId(Class<T> entityClass) |
Create an IdentifierLoadAccess instance to retrieve an instance of the given
entity type by its primary key.
|
<T> IdentifierLoadAccess<T> |
Session.byId(String entityName) |
Create an IdentifierLoadAccess instance to retrieve an instance of the named
entity type by its primary key.
|
IdentifierLoadAccess<T> |
IdentifierLoadAccess.disableFetchProfile(String profileName) |
Customize the associations fetched by specifying a
fetch profile
that should be disabled during this operation.
|
IdentifierLoadAccess<T> |
IdentifierLoadAccess.enableFetchProfile(String profileName) |
Customize the associations fetched by specifying a
fetch profile
that should be enabled during this operation.
|
IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(CacheMode cacheMode) |
Specify the CacheMode to use when obtaining an entity.
|
default IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(RootGraph<T> graph) |
Deprecated.
|
IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(RootGraph<T> graph,
GraphSemantic semantic) |
|
IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(LockOptions lockOptions) |
|
default IdentifierLoadAccess<T> |
IdentifierLoadAccess.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 IdentifierLoadAccess<T> |
IdentifierLoadAccess.withLoadGraph(RootGraph<T> graph) |
Augment the associations fetched by default by specifying a
list of additional associations to be fetched as an
entity graph.
|
IdentifierLoadAccess<T> |
IdentifierLoadAccess.withReadOnly(boolean readOnly) |
Specify whether the entity should be loaded in read-only mode.
|