public interface UniqueEntityLoader
Modifier and Type | Method and Description |
---|---|
Object |
load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session)
Deprecated.
|
Object |
load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions)
Load an entity instance by id.
|
@Deprecated Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session) throws HibernateException
load(java.io.Serializable, Object, SharedSessionContractImplementor, LockOptions)
instead.HibernateException
Object load(Serializable id, 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 © 2019 JBoss by Red Hat. All rights reserved.