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