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> SimpleNaturalIdLoadAccess<T> |
Session.bySimpleNaturalId(Class<T> entityClass)
Create a
SimpleNaturalIdLoadAccess instance to retrieve the specified entity by
its simple (single attribute) natural id. |
SimpleNaturalIdLoadAccess |
Session.bySimpleNaturalId(String entityName)
Create a
SimpleNaturalIdLoadAccess instance to retrieve the specified entity by
its natural id. |
SimpleNaturalIdLoadAccess<T> |
SimpleNaturalIdLoadAccess.setSynchronizationEnabled(boolean enabled)
For entities with mutable natural ids, should Hibernate perform "synchronization" prior to performing
lookups? The default is to perform "synchronization" (for correctness).
|
SimpleNaturalIdLoadAccess<T> |
SimpleNaturalIdLoadAccess.with(LockOptions lockOptions)
Specify the
LockOptions to use when retrieving the entity. |
Modifier and Type | Method and Description |
---|---|
<T> SimpleNaturalIdLoadAccess<T> |
SessionDelegatorBaseImpl.bySimpleNaturalId(Class<T> entityClass) |
SimpleNaturalIdLoadAccess |
SessionDelegatorBaseImpl.bySimpleNaturalId(String entityName) |
Modifier and Type | Method and Description |
---|---|
<T> SimpleNaturalIdLoadAccess<T> |
SessionImpl.bySimpleNaturalId(Class<T> entityClass) |
SimpleNaturalIdLoadAccess |
SessionImpl.bySimpleNaturalId(String entityName) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.