public interface UniqueEntityLoader
Modifier and Type | Method and Description |
---|---|
default Object |
load(Object id,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
Object |
load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session)
Deprecated.
|
default Object |
load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
Boolean readOnly) |
Object |
load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions)
Load an entity instance by id.
|
default Object |
load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions,
Boolean readOnly) |
@Deprecated Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session)
load(java.io.Serializable, Object, SharedSessionContractImplementor, LockOptions)
instead.HibernateException
- indicates problem performing the load.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.default Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, Boolean readOnly)
default Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)
default Object load(Object id, SharedSessionContractImplementor session, LockOptions lockOptions)
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.