public interface UniqueEntityLoader
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
load(java.io.Serializable id,
java.lang.Object optionalObject,
SharedSessionContractImplementor session)
Deprecated.
|
java.lang.Object |
load(java.io.Serializable id,
java.lang.Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions)
Load an entity instance by id.
|
@Deprecated java.lang.Object load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session) throws HibernateException
load(java.io.Serializable, Object, SharedSessionContractImplementor, LockOptions)
instead.HibernateException
java.lang.Object load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)
id
- The id to be loadedoptionalObject
- The (optional) entity instance in to which to load the statesession
- The session from which the request originatedlockOptions
- The lock options.HibernateException
- indicates problem performing the load.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.