Top Fields Constructors Methods
org.hibernate.loader.ast.internal

pack-priv Class SingleIdExecutionContext

extends BaseExecutionContext
Class Inheritance
Imports
org.hibernate.LockOptions, org.hibernate.engine.spi.EntityHolder, .SharedSessionContractImplementor, .SubselectFetch, org.hibernate.metamodel.mapping.EntityMappingType, org.hibernate.query.spi.QueryOptions, .QueryOptionsAdapter, org.hibernate.sql.exec.internal.BaseExecutionContext

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Object
private final Object
private final LockOptions
private final Boolean
private final EntityMappingType
private final SubselectFetch.RegistrationHandler

Constructor Summary

AccessConstructor and Description
public
SingleIdExecutionContext(Object entityId, Object entityInstance, EntityMappingType rootEntityDescriptor, Boolean readOnly, LockOptions lockOptions, SubselectFetch.RegistrationHandler subSelectFetchableKeysHandler, SharedSessionContractImplementor session)

Method Summary

Modifier and TypeMethod and Description
public Object
public Object
getEntityInstance()

Overrides default org.hibernate.sql.exec.spi.ExecutionContext.getEntityInstance.

Should only be used when initializing a bytecode-proxy
public QueryOptions
public EntityMappingType
public void
Inherited from org.hibernate.sql.exec.internal.BaseExecutionContext:
getCallbackgetLoadQueryInfluencersgetQueryIdentifiergetQueryParameterBindingsgetSession

Field Detail

entityIdback to summary
private final Object entityId
entityInstanceback to summary
private final Object entityInstance
lockOptionsback to summary
private final LockOptions lockOptions
readOnlyback to summary
private final Boolean readOnly
rootEntityDescriptorback to summary
private final EntityMappingType rootEntityDescriptor
subSelectFetchableKeysHandlerback to summary
private final SubselectFetch.RegistrationHandler subSelectFetchableKeysHandler

Constructor Detail

SingleIdExecutionContextback to summary
public SingleIdExecutionContext(Object entityId, Object entityInstance, EntityMappingType rootEntityDescriptor, Boolean readOnly, LockOptions lockOptions, SubselectFetch.RegistrationHandler subSelectFetchableKeysHandler, SharedSessionContractImplementor session)

Method Detail

getEntityIdback to summary
public Object getEntityId()

Overrides default org.hibernate.sql.exec.spi.ExecutionContext.getEntityId.

Annotations
@Override
getEntityInstanceback to summary
public Object getEntityInstance()

Overrides default org.hibernate.sql.exec.spi.ExecutionContext.getEntityInstance.

Doc from org.hibernate.sql.exec.spi.ExecutionContext.getEntityInstance.

Should only be used when initializing a bytecode-proxy

Annotations
@Override
getQueryOptionsback to summary
public QueryOptions getQueryOptions()

Overrides org.hibernate.sql.exec.internal.BaseExecutionContext.getQueryOptions.

Implements org.hibernate.sql.exec.spi.ExecutionContext.getQueryOptions.

Annotations
@Override
getRootEntityDescriptorback to summary
public EntityMappingType getRootEntityDescriptor()

Overrides default org.hibernate.sql.exec.spi.ExecutionContext.getRootEntityDescriptor.

Annotations
@Override
registerLoadingEntityHolderback to summary
public void registerLoadingEntityHolder(EntityHolder holder)

Overrides default org.hibernate.sql.exec.spi.ExecutionContext.registerLoadingEntityHolder.

Annotations
@Override