| Modifier and Type | Field and Description |
|---|---|
| private final DomainResultAssembler | |
| private EntityPersister | |
| private final BasicResultAssembler | |
| private final EntityPersister | |
| private Object | |
| private Object | |
| private EntityKey | |
| private final DomainResultAssembler | |
| pack-priv boolean | |
| private boolean | |
| private final LockMode | |
| protected boolean | |
| private final NavigablePath | |
| private final EntityValuedModelPart | |
| private Object[] | |
| private final EntityPersister | |
| private final DomainResultAssembler | |
| private Object | |
| private final DomainResultAssembler |
| Access | Constructor and Description |
|---|---|
| protected | AbstractEntityInitializer(EntityResultGraphNode resultDescriptor, NavigablePath navigablePath, LockMode lockMode, Fetch identifierFetch, Fetch discriminatorFetch, DomainResult<Object> rowIdResult, AssemblerCreationState creationState)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | checkVersion(EntityEntry entry, final RowProcessingState rowProcessingState)
Check the version of the object in the |
| protected boolean | |
| private static Object | |
| private static void | |
| private EntityPersister | |
| protected Object[] | |
| public void | finishUpRow(RowProcessingState rowProcessingState)
Implements org. |
| protected DomainResultAssembler | |
| public EntityPersister | |
| public EntityPersister | getEntityDescriptor()
Implements org. |
| protected Object | |
| public Object | getEntityInstance()
Implements org. |
| protected Object | |
| public EntityKey | |
| protected DomainResultAssembler | |
| public ModelPart | |
| public Object | |
| protected LockMode | |
| public NavigablePath | |
| public Object | |
| protected Object[] | |
| protected DomainResultAssembler | |
| protected abstract String | |
| protected DomainResultAssembler | |
| private void | |
| private void | |
| private Object | |
| public void | initializeInstance(RowProcessingState rowProcessingState)
Implements org. resolveInstance from the current row values.
|
| protected Object | |
| public boolean | |
| protected abstract boolean | |
| private boolean | |
| protected boolean | |
| private boolean | |
| private boolean | isReadOnly(RowProcessingState rowProcessingState, SharedSessionContractImplementor persistenceContext)
|
| private boolean | |
| private boolean | isReferencedModelPartInConcreteParent(ModelPart modelPart, NavigablePath partNavigablePath, Initializer parentInitializer)
|
| private boolean | |
| protected void | |
| private void | putInCache(Object toInitialize, SharedSessionContractImplementor session, PersistenceContext persistenceContext, Object entityIdentifier, Object version, EntityDataAccess cacheAccess)
|
| protected void | |
| protected abstract void | registerLoadingEntityInstanceFromExecutionContext(RowProcessingState rowProcessingState, Object instance)
|
| protected void | |
| protected void | registerPossibleUniqueKeyEntries(final Object toInitialize, final SharedSessionContractImplementor session)
|
| protected void | |
| protected void | |
| public void | registerResolutionListener(Consumer<Object> listener)
Overrides org. Implements org. |
| protected void | resolveEntityInstance(RowProcessingState rowProcessingState, EntityHolder holder, Object entityIdentifier)
|
| protected Object | |
| protected void | |
| public void | resolveInstance(RowProcessingState rowProcessingState)
Implements org. resolveKey, resolve the
instance (of the thing initialized) to use for the current row.
|
| protected Object | resolveInstance(Object entityIdentifier, EntityHolder holder, RowProcessingState rowProcessingState)
Used by Hibernate Reactive |
| private Object | |
| public void | resolveKey(RowProcessingState rowProcessingState)
Implements org. |
| private void | |
| private Object | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected boolean | |
| protected boolean | |
| protected void | takeSnapshot(RowProcessingState rowProcessingState, SharedSessionContractImplementor session, PersistenceContext persistenceContext, EntityEntry entityEntry)
|
| protected void | updateCaches(Object toInitialize, RowProcessingState rowProcessingState, SharedSessionContractImplementor session, PersistenceContext persistenceContext, Object entityIdentifier, Object version)
|
| private void | |
| private boolean |
| assemblers | back to summary |
|---|---|
| private final DomainResultAssembler<?>[][] assemblers | |
| concreteDescriptor | back to summary |
|---|---|
| private EntityPersister concreteDescriptor | |
| discriminatorAssembler | back to summary |
|---|---|
| private final BasicResultAssembler<?> discriminatorAssembler | |
| entityDescriptor | back to summary |
|---|---|
| private final EntityPersister entityDescriptor | |
| entityInstance | back to summary |
|---|---|
| private Object entityInstance | |
| entityInstanceForNotify | back to summary |
|---|---|
| private Object entityInstanceForNotify | |
| entityKey | back to summary |
|---|---|
| private EntityKey entityKey | |
| identifierAssembler | back to summary |
|---|---|
| private final DomainResultAssembler<?> identifierAssembler | |
| isInitialized | back to summary |
|---|---|
| pack-priv boolean isInitialized | |
| isOwningInitializer | back to summary |
|---|---|
| private boolean isOwningInitializer | |
| lockMode | back to summary |
|---|---|
| private final LockMode lockMode | |
| missing | back to summary |
|---|---|
| protected boolean missing | |
| navigablePath | back to summary |
|---|---|
| private final NavigablePath navigablePath | |
| referencedModelPart | back to summary |
|---|---|
| private final EntityValuedModelPart referencedModelPart | |
| resolvedEntityState | back to summary |
|---|---|
| private Object[] resolvedEntityState | |
| rootEntityDescriptor | back to summary |
|---|---|
| private final EntityPersister rootEntityDescriptor | |
| rowIdAssembler | back to summary |
|---|---|
| private final DomainResultAssembler<Object> rowIdAssembler | |
| version | back to summary |
|---|---|
| private Object version | |
| versionAssembler | back to summary |
|---|---|
| private final DomainResultAssembler<?> versionAssembler | |
| AbstractEntityInitializer | back to summary |
|---|---|
| protected AbstractEntityInitializer(EntityResultGraphNode resultDescriptor, NavigablePath navigablePath, LockMode lockMode, Fetch identifierFetch, Fetch discriminatorFetch, DomainResult<Object> rowIdResult, AssemblerCreationState creationState) | |
| checkVersion | back to summary |
|---|---|
| private void checkVersion(EntityEntry entry, final RowProcessingState rowProcessingState) throws HibernateException Check the version of the object in the | |
| consistentInstance | back to summary |
|---|---|
| protected boolean consistentInstance(Object toInitialize, RowProcessingState rowProcessingState) | |
| copy | back to summary |
|---|---|
private static Object copy(AttributeMetadata attributeMetadata, Object sourceValue)
| |
| deepCopy | back to summary |
|---|---|
| private static void deepCopy(ManagedMappingType containerDescriptor, Object[] source, Object[] target) | |
| determineConcreteEntityDescriptor | back to summary |
|---|---|
| private EntityPersister determineConcreteEntityDescriptor(RowProcessingState rowProcessingState) throws WrongClassException | |
| extractConcreteTypeStateValues | back to summary |
|---|---|
| protected Object[] extractConcreteTypeStateValues(RowProcessingState rowProcessingState) | |
| finishUpRow | back to summary |
|---|---|
| public void finishUpRow(RowProcessingState rowProcessingState) Implements org. Doc from org. Lifecycle method called at the end of the current row processing. Provides ability to complete processing from the current row and prepare for the next row.
| |
| getAssemblers | back to summary |
|---|---|
| protected DomainResultAssembler | |
| getConcreteDescriptor | back to summary |
|---|---|
| public EntityPersister getConcreteDescriptor() Implements org.
| |
| getEntityDescriptor | back to summary |
|---|---|
| public EntityPersister getEntityDescriptor() Implements org. Doc from org. Get the descriptor for the type of entity being initialized
| |
| getEntityFromExecutionContext | back to summary |
|---|---|
| protected Object getEntityFromExecutionContext(RowProcessingState rowProcessingState) | |
| getEntityInstance | back to summary |
|---|---|
| public Object getEntityInstance() Implements org. Doc from org. Get the entity instance for the currently processing "row".
| |
| getEntityInstanceForNotify | back to summary |
|---|---|
| protected Object getEntityInstanceForNotify() | |
| getEntityKey | back to summary |
|---|---|
| public EntityKey getEntityKey() Implements org.
| |
| getIdentifierAssembler | back to summary |
|---|---|
| protected DomainResultAssembler | |
| getInitializedPart | back to summary |
|---|---|
| public ModelPart getInitializedPart() Implements org.
| |
| getKeyValue | back to summary |
|---|---|
public Object getKeyValue()
| |
| getLockMode | back to summary |
|---|---|
| protected LockMode getLockMode() | |
| getNavigablePath | back to summary |
|---|---|
| public NavigablePath getNavigablePath() Implements org. | |
| getParentKey | back to summary |
|---|---|
| public Object getParentKey() Implements org.
| |
| getResolvedEntityState | back to summary |
|---|---|
| protected Object[] getResolvedEntityState() | |
| getRowIdAssembler | back to summary |
|---|---|
| protected DomainResultAssembler | |
| getSimpleConcreteImplName | back to summary |
|---|---|
| protected abstract String getSimpleConcreteImplName() Simple class name of this initializer for logging | |
| getVersionAssembler | back to summary |
|---|---|
| protected DomainResultAssembler | |
| initializeEntity | back to summary |
|---|---|
| private void initializeEntity(Object toInitialize, RowProcessingState rowProcessingState) | |
| initializeEntityInstance | back to summary |
|---|---|
| private void initializeEntityInstance(Object toInitialize, RowProcessingState rowProcessingState) | |
| initializeIdentifier | back to summary |
|---|---|
| private Object initializeIdentifier(RowProcessingState rowProcessingState) | |
| initializeInstance | back to summary |
|---|---|
| public void initializeInstance(RowProcessingState rowProcessingState) Implements org. Doc from org. Step 3 - Initialize the state of the instance resolved in
| |
| instantiateEntity | back to summary |
|---|---|
| protected Object instantiateEntity(Object entityIdentifier, SharedSessionContractImplementor session) | |
| isEntityInitialized | back to summary |
|---|---|
| public boolean isEntityInitialized() Implements org.
| |
| isEntityReturn | back to summary |
|---|---|
| protected abstract boolean isEntityReturn() | |
| isExistingEntityInitialized | back to summary |
|---|---|
| private boolean isExistingEntityInitialized(Object existingEntity) | |
| isMissing | back to summary |
|---|---|
| protected boolean isMissing() | |
| isProxyInstance | back to summary |
|---|---|
| private boolean isProxyInstance(Object proxy) | |
| isReadOnly | back to summary |
|---|---|
| private boolean isReadOnly(RowProcessingState rowProcessingState, SharedSessionContractImplementor persistenceContext) | |
| isReallyReadOnly | back to summary |
|---|---|
| private boolean isReallyReadOnly(RowProcessingState rowProcessingState, SharedSessionContractImplementor session) | |
| isReferencedModelPartInConcreteParent | back to summary |
|---|---|
| private boolean isReferencedModelPartInConcreteParent(ModelPart modelPart, NavigablePath partNavigablePath, Initializer parentInitializer) | |
| matchesOptionalInstance | back to summary |
|---|---|
| private boolean matchesOptionalInstance(JdbcValuesSourceProcessingOptions processingOptions) | |
| preLoad | back to summary |
|---|---|
| protected void preLoad(RowProcessingState rowProcessingState) | |
| putInCache | back to summary |
|---|---|
| private void putInCache(Object toInitialize, SharedSessionContractImplementor session, PersistenceContext persistenceContext, Object entityIdentifier, Object version, EntityDataAccess cacheAccess) | |
| registerLoadingEntity | back to summary |
|---|---|
| protected void registerLoadingEntity(RowProcessingState rowProcessingState, Object instance) | |
| registerLoadingEntityInstanceFromExecutionContext | back to summary |
|---|---|
| protected abstract void registerLoadingEntityInstanceFromExecutionContext(RowProcessingState rowProcessingState, Object instance) | |
| registerNaturalIdResolution | back to summary |
|---|---|
| protected void registerNaturalIdResolution(PersistenceContext persistenceContext, Object entityIdentifier) | |
| registerPossibleUniqueKeyEntries | back to summary |
|---|---|
| protected void registerPossibleUniqueKeyEntries(final Object toInitialize, final SharedSessionContractImplementor session) | |
| registerReloadedEntity | back to summary |
|---|---|
| protected void registerReloadedEntity(RowProcessingState rowProcessingState) | |
| registerReloadedEntity | back to summary |
|---|---|
| protected void registerReloadedEntity(RowProcessingState rowProcessingState, EntityHolder holder) | |
| registerResolutionListener | back to summary |
|---|---|
| public void registerResolutionListener(Consumer<Object> listener) Overrides org. Implements org. Doc from org. Register a listener to be notified when the parent is "resolved"
| |
| resolveEntityInstance | back to summary |
|---|---|
| protected void resolveEntityInstance(RowProcessingState rowProcessingState, EntityHolder holder, Object entityIdentifier) | |
| resolveEntityInstance | back to summary |
|---|---|
| protected Object resolveEntityInstance(Object entityIdentifier, RowProcessingState rowProcessingState) | |
| resolveEntityKey | back to summary |
|---|---|
| protected void resolveEntityKey(RowProcessingState rowProcessingState) | |
| resolveInstance | back to summary |
|---|---|
| public void resolveInstance(RowProcessingState rowProcessingState) Implements org. Doc from org. Step 2 - Using the key resolved in
| |
| resolveInstance | back to summary |
|---|---|
| protected Object resolveInstance(Object entityIdentifier, EntityHolder holder, RowProcessingState rowProcessingState) Used by Hibernate Reactive | |
| resolveInstanceFromCache | back to summary |
|---|---|
| private Object resolveInstanceFromCache(RowProcessingState rowProcessingState) | |
| resolveKey | back to summary |
|---|---|
| public void resolveKey(RowProcessingState rowProcessingState) Implements org. Doc from org. Step 1 - Resolve the key value for this initializer for the current row. After this point, the initializer knows the entity/collection/component key for the current row
| |
| resolveState | back to summary |
|---|---|
| private void resolveState(RowProcessingState rowProcessingState) | |
| resolveToOptionalInstance | back to summary |
|---|---|
| private Object resolveToOptionalInstance(RowProcessingState rowProcessingState) | |
| setEntityInitialized | back to summary |
|---|---|
| protected void setEntityInitialized(boolean isInitialized) | |
| setEntityInstanceForNotify | back to summary |
|---|---|
| protected void setEntityInstanceForNotify(Object entityInstanceForNotify) | |
| setMissing | back to summary |
|---|---|
| protected void setMissing(boolean missing) | |
| setResolvedEntityState | back to summary |
|---|---|
| protected void setResolvedEntityState(Object[] resolvedEntityState) | |
| shouldSkipResolveInstance | back to summary |
|---|---|
| protected boolean shouldSkipResolveInstance(RowProcessingState rowProcessingState) | |
| skipInitialization | back to summary |
|---|---|
| protected boolean skipInitialization(Object toInitialize, RowProcessingState rowProcessingState) | |
| takeSnapshot | back to summary |
|---|---|
| protected void takeSnapshot(RowProcessingState rowProcessingState, SharedSessionContractImplementor session, PersistenceContext persistenceContext, EntityEntry entityEntry) | |
| updateCaches | back to summary |
|---|---|
| protected void updateCaches(Object toInitialize, RowProcessingState rowProcessingState, SharedSessionContractImplementor session, PersistenceContext persistenceContext, Object entityIdentifier, Object version) | |
| upgradeLockMode | back to summary |
|---|---|
| private void upgradeLockMode(RowProcessingState rowProcessingState) | |
| useEmbeddedIdentifierInstanceAsEntity | back to summary |
|---|---|
| private boolean useEmbeddedIdentifierInstanceAsEntity(Object id) | |