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 JdbcParametersListThe JdbcSelect for the loadThe thing being loadedprotected LockOptionsThe 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:LoadPlanThe thing being loaded- Specified by:
getLoadablein interfaceLoadPlan
-
getRestrictivePart
Description copied from interface:LoadPlanThe part of the thing being loaded used to restrict which loadables get loaded- Specified by:
getRestrictivePartin interfaceLoadPlan
-
getJdbcSelect
Description copied from interface:LoadPlanThe JdbcSelect for the load- Specified by:
getJdbcSelectin interfaceLoadPlan
-
getRowTransformer
-