Class SingleIdLoadPlan<T>
java.lang.Object
org.hibernate.loader.ast.internal.SingleIdLoadPlan<T>
- All Implemented Interfaces:
LoadPlan
,SingleEntityLoadPlan
- Direct Known Subclasses:
SingleIdArrayLoadPlan
Describes a plan for loading an entity by identifier.
- Implementation Note:
- Made up of (1) a SQL AST for the SQL SELECT and (2) the `ModelPart` used as the restriction
-
Constructor Summary
ConstructorsConstructorDescriptionSingleIdLoadPlan
(EntityMappingType entityMappingType, ModelPart restrictivePart, SelectStatement sqlAst, JdbcParametersList jdbcParameters, LockOptions lockOptions, SessionFactoryImplementor sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected JdbcParametersList
The JdbcSelect for the loadThe thing being loadedprotected LockOptions
The part of the thing being loaded used to restrict which loadables get loadedprotected RowTransformer<T>
load
(Object restrictedValue, Boolean readOnly, Boolean singleResultExpected, SharedSessionContractImplementor session) load
(Object restrictedValue, Boolean readOnly, SharedSessionContractImplementor session) load
(Object restrictedValue, Object entityInstance, Boolean readOnly, Boolean singleResultExpected, SharedSessionContractImplementor session) load
(Object restrictedValue, SharedSessionContractImplementor session)
-
Constructor Details
-
SingleIdLoadPlan
public SingleIdLoadPlan(EntityMappingType entityMappingType, ModelPart restrictivePart, SelectStatement sqlAst, JdbcParametersList jdbcParameters, LockOptions lockOptions, SessionFactoryImplementor sessionFactory)
-
-
Method Details
-
getLockOptions
-
getJdbcParameters
-
getLoadable
Description copied from interface:LoadPlan
The thing being loaded- Specified by:
getLoadable
in interfaceLoadPlan
-
getRestrictivePart
Description copied from interface:LoadPlan
The part of the thing being loaded used to restrict which loadables get loaded- Specified by:
getRestrictivePart
in interfaceLoadPlan
-
getJdbcSelect
Description copied from interface:LoadPlan
The JdbcSelect for the load- Specified by:
getJdbcSelect
in interfaceLoadPlan
-
getRowTransformer
-