Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
Modifier and Type | Method and Description |
---|---|
<T> MultiIdentifierLoadAccess<T> |
Session.byMultipleIds(Class<T> entityClass)
Create a
MultiIdentifierLoadAccess instance to retrieve multiple entities at once
as specified by primary key values. |
MultiIdentifierLoadAccess |
Session.byMultipleIds(String entityName)
Create a
MultiIdentifierLoadAccess instance to retrieve multiple entities at once
as specified by primary key values. |
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.enableSessionCheck(boolean enabled)
Should we check the Session to see whether it already contains any of the
entities to be loaded in a managed state for the purpose of not including those
ids to the batch-load SQL
|
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.with(CacheMode cacheMode)
Specify the
CacheMode to use when retrieving the entity. |
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.with(LockOptions lockOptions)
Specify the
LockOptions to use when retrieving the entity. |
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.withBatchSize(int batchSize)
Specify a batch size for loading the entities (how many at a time).
|
Modifier and Type | Method and Description |
---|---|
<T> MultiIdentifierLoadAccess<T> |
SessionDelegatorBaseImpl.byMultipleIds(Class<T> entityClass) |
MultiIdentifierLoadAccess |
SessionDelegatorBaseImpl.byMultipleIds(String entityName) |
Modifier and Type | Method and Description |
---|---|
<T> MultiIdentifierLoadAccess<T> |
SessionImpl.byMultipleIds(Class<T> entityClass) |
MultiIdentifierLoadAccess |
SessionImpl.byMultipleIds(String entityName) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.