| 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 | 
|---|---|
SimpleNaturalIdLoadAccess | 
Session.bySimpleNaturalId(Class entityClass)
Create an  
SimpleNaturalIdLoadAccess instance to retrieve the specified entity by
 its simple (single attribute) natural id. | 
SimpleNaturalIdLoadAccess | 
Session.bySimpleNaturalId(String entityName)
Create an  
SimpleNaturalIdLoadAccess instance to retrieve the specified entity by
 its natural id. | 
SimpleNaturalIdLoadAccess | 
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 | 
SimpleNaturalIdLoadAccess.with(LockOptions lockOptions)
Specify the  
LockOptions to use when retrieving the entity. | 
| Modifier and Type | Method and Description | 
|---|---|
SimpleNaturalIdLoadAccess | 
SessionDelegatorBaseImpl.bySimpleNaturalId(Class entityClass)  | 
SimpleNaturalIdLoadAccess | 
SessionDelegatorBaseImpl.bySimpleNaturalId(String entityName)  | 
| Modifier and Type | Method and Description | 
|---|---|
SimpleNaturalIdLoadAccess | 
SessionImpl.bySimpleNaturalId(Class entityClass)  | 
SimpleNaturalIdLoadAccess | 
SessionImpl.bySimpleNaturalId(String entityName)  | 
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.