Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.spi |
Modifier and Type | Method and Description |
---|---|
<T> IdentifierLoadAccess<T> |
Session.byId(Class<T> entityClass)
Create an
IdentifierLoadAccess instance to retrieve the specified entity by
primary key. |
IdentifierLoadAccess |
Session.byId(String entityName)
Create an
IdentifierLoadAccess instance to retrieve the specified entity type by
primary key. |
IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(CacheMode cacheMode)
Specify the
CacheMode to use when retrieving the entity. |
IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(LockOptions lockOptions)
Specify the
LockOptions to use when retrieving the entity. |
Modifier and Type | Method and Description |
---|---|
<T> IdentifierLoadAccess<T> |
SessionDelegatorBaseImpl.byId(Class<T> entityClass) |
IdentifierLoadAccess |
SessionDelegatorBaseImpl.byId(String entityName) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.