| java.lang.Object | |
| ↳ | org.hibernate.persister.entity.NamedQueryLoader | 
Not really a Loader, just a wrapper around a named query.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Load an entity instance by id. 
  
   | |||||||||||
Load an entity instance. 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
   
From interface
  org.hibernate.loader.entity.UniqueEntityLoader
 | |||||||||||
Load an entity instance by id. If optionalObject is supplied (non-null, the entity state is loaded into that object instance instead of instantiating a new one.
| id | The id to be loaded | 
|---|---|
| optionalObject | The (optional) entity instance in to which to load the state | 
| session | The session from which the request originated | 
| lockOptions | The lock options. | 
Load an entity instance. If optionalObject is supplied, load the entity state into the given (uninitialized) object.