Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
Modifier and Type | Method and Description |
---|---|
IdentifierLoadAccess |
Session.byId(Class 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 |
IdentifierLoadAccess.with(LockOptions lockOptions)
Specify the
LockOptions to use when retrieving the entity. |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.