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> NaturalIdLoadAccess<T> |
Session.byNaturalId(Class<T> entityClass)
Create an
NaturalIdLoadAccess instance to retrieve the specified entity by
its natural id. |
NaturalIdLoadAccess |
Session.byNaturalId(String entityName)
Create an
NaturalIdLoadAccess instance to retrieve the specified entity by
its natural id. |
NaturalIdLoadAccess<T> |
NaturalIdLoadAccess.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).
|
NaturalIdLoadAccess<T> |
NaturalIdLoadAccess.using(String attributeName,
Object value)
Add a NaturalId attribute value.
|
NaturalIdLoadAccess<T> |
NaturalIdLoadAccess.with(LockOptions lockOptions)
Specify the
LockOptions to use when retrieving the entity. |
Modifier and Type | Method and Description |
---|---|
<T> NaturalIdLoadAccess<T> |
SessionDelegatorBaseImpl.byNaturalId(Class<T> entityClass) |
NaturalIdLoadAccess |
SessionDelegatorBaseImpl.byNaturalId(String entityName) |
Modifier and Type | Method and Description |
---|---|
<T> NaturalIdLoadAccess<T> |
SessionImpl.byNaturalId(Class<T> entityClass) |
NaturalIdLoadAccess |
SessionImpl.byNaturalId(String entityName) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.