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 |
---|---|
NaturalIdLoadAccess |
Session.byNaturalId(Class 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 |
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 |
NaturalIdLoadAccess.using(String attributeName,
Object value)
Add a NaturalId attribute value.
|
NaturalIdLoadAccess |
NaturalIdLoadAccess.with(LockOptions lockOptions)
Specify the
LockOptions to use when retrieving the entity. |
Modifier and Type | Method and Description |
---|---|
NaturalIdLoadAccess |
SessionDelegatorBaseImpl.byNaturalId(Class entityClass) |
NaturalIdLoadAccess |
SessionDelegatorBaseImpl.byNaturalId(String entityName) |
Modifier and Type | Method and Description |
---|---|
NaturalIdLoadAccess |
SessionImpl.byNaturalId(Class entityClass) |
NaturalIdLoadAccess |
SessionImpl.byNaturalId(String entityName) |
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.