Class ReactiveUnionSubclassEntityPersister

java.lang.Object
org.hibernate.persister.entity.AbstractEntityPersister
org.hibernate.persister.entity.UnionSubclassEntityPersister
org.hibernate.reactive.persister.entity.impl.ReactiveUnionSubclassEntityPersister
All Implemented Interfaces:
org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer, org.hibernate.engine.profile.internal.FetchProfileAffectee, org.hibernate.loader.ast.spi.Loadable, org.hibernate.metamodel.mapping.Bindable, org.hibernate.metamodel.mapping.Discriminable, org.hibernate.metamodel.mapping.EntityMappingType, org.hibernate.metamodel.mapping.EntityValuedModelPart, org.hibernate.metamodel.mapping.FilterRestrictable, org.hibernate.metamodel.mapping.internal.InFlightEntityMappingType, org.hibernate.metamodel.mapping.JdbcMappingContainer, org.hibernate.metamodel.mapping.ManagedMappingType, org.hibernate.metamodel.mapping.MappingModelExpressible, org.hibernate.metamodel.mapping.MappingType, org.hibernate.metamodel.mapping.ModelPart, org.hibernate.metamodel.mapping.ModelPartContainer, org.hibernate.metamodel.mapping.Restrictable, org.hibernate.metamodel.mapping.SoftDeletableModelPart, org.hibernate.metamodel.mapping.WhereRestrictable, org.hibernate.persister.entity.EntityPersister, org.hibernate.persister.entity.Joinable, org.hibernate.persister.entity.mutation.EntityMutationTarget, org.hibernate.persister.walking.spi.AttributeSource, ReactiveAbstractEntityPersister, ReactiveEntityPersister, org.hibernate.sql.ast.tree.from.RootTableGroupProducer, org.hibernate.sql.ast.tree.from.TableGroupProducer, org.hibernate.sql.model.MutationTarget<org.hibernate.persister.entity.mutation.EntityTableMapping>, org.hibernate.sql.results.graph.FetchableContainer

public class ReactiveUnionSubclassEntityPersister extends org.hibernate.persister.entity.UnionSubclassEntityPersister implements ReactiveAbstractEntityPersister
An ReactiveEntityPersister backed by UnionSubclassEntityPersister and ReactiveAbstractEntityPersister.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.hibernate.persister.entity.AbstractEntityPersister

    org.hibernate.persister.entity.AbstractEntityPersister.CacheEntryHelper, org.hibernate.persister.entity.AbstractEntityPersister.MutabilityOrderedTableConsumer

    Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable

    org.hibernate.metamodel.mapping.Bindable.JdbcValuesBiConsumer<X extends Object,Y extends Object>, org.hibernate.metamodel.mapping.Bindable.JdbcValuesConsumer

    Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.EntityMappingType

    org.hibernate.metamodel.mapping.EntityMappingType.ConstraintOrderedTableConsumer

    Nested classes/interfaces inherited from interface org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer

    org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer.InterceptorImplementor

    Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart

    org.hibernate.metamodel.mapping.ModelPart.JdbcValueBiConsumer<X extends Object,Y extends Object>, org.hibernate.metamodel.mapping.ModelPart.JdbcValueConsumer
  • Field Summary

    Fields inherited from class org.hibernate.persister.entity.AbstractEntityPersister

    accessOptimizer, batchSize, customSQLDelete, customSQLInsert, customSQLUpdate, declaredAttributeMappings, deleteCallable, deleteExpectations, ENTITY_CLASS, fullDiscriminatorSQLValues, insertCallable, insertExpectations, insertGeneratedProperties, ROWID_ALIAS, rowIdName, staticFetchableList, updateCallable, updateExpectations, updateGeneratedProperties, VERSION_COLUMN_ALIAS

    Fields inherited from interface org.hibernate.persister.entity.EntityPersister

    ENTITY_ID

    Fields inherited from interface org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer

    UNFETCHED_PROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReactiveUnionSubclassEntityPersister(org.hibernate.mapping.PersistentClass persistentClass, org.hibernate.cache.spi.access.EntityDataAccess cacheAccessStrategy, org.hibernate.cache.spi.access.NaturalIdDataAccess naturalIdRegionAccessStrategy, org.hibernate.metamodel.spi.RuntimeModelCreationContext creationContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.hibernate.persister.entity.mutation.DeleteCoordinator
     
    protected org.hibernate.persister.entity.mutation.InsertCoordinator
     
    protected org.hibernate.loader.ast.spi.MultiIdEntityLoader<?>
     
    protected org.hibernate.metamodel.mapping.AttributeMapping
    buildPluralAttributeMapping(String attrName, int stateArrayPosition, int fetchableIndex, org.hibernate.mapping.Property bootProperty, org.hibernate.metamodel.mapping.ManagedMappingType declaringType, org.hibernate.property.access.spi.PropertyAccess propertyAccess, org.hibernate.engine.spi.CascadeStyle cascadeStyle, org.hibernate.FetchMode fetchMode, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess)
     
    protected org.hibernate.loader.ast.spi.SingleIdEntityLoader<?>
     
    protected org.hibernate.metamodel.mapping.AttributeMapping
    buildSingularAssociationAttributeMapping(String attrName, org.hibernate.metamodel.model.domain.NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, org.hibernate.mapping.Property bootProperty, org.hibernate.metamodel.mapping.ManagedMappingType declaringType, org.hibernate.persister.entity.EntityPersister declaringEntityPersister, org.hibernate.type.EntityType attrType, org.hibernate.property.access.spi.PropertyAccess propertyAccess, org.hibernate.engine.spi.CascadeStyle cascadeStyle, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess)
     
    protected org.hibernate.persister.entity.mutation.UpdateCoordinator
     
    <T> org.hibernate.sql.results.graph.DomainResult<T>
    createDomainResult(org.hibernate.spi.NavigablePath navigablePath, org.hibernate.sql.ast.tree.from.TableGroup tableGroup, String resultVariable, org.hibernate.sql.results.graph.DomainResultCreationState creationState)
     
    void
    delete(Object id, Object version, Object object, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    deleteReactive(Object id, Object version, Object entity, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Delete the given instance without blocking.
    org.hibernate.loader.ast.spi.SingleIdEntityLoader<?>
    determineLoaderToUse(org.hibernate.engine.spi.SharedSessionContractImplementor session, org.hibernate.LockOptions lockOptions)
     
    org.hibernate.metamodel.mapping.NaturalIdMapping
    generateNaturalIdMapping(org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess, org.hibernate.mapping.PersistentClass bootEntityDescriptor)
     
    org.hibernate.generator.Generator
     
     
    protected org.hibernate.loader.ast.spi.SingleUniqueKeyEntityLoader<?>
    getUniqueKeyLoader(String attributeName, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    protected Object
    initializeLazyPropertiesFromDatastore(Object entity, Object id, org.hibernate.engine.spi.EntityEntry entry, String fieldName, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    void
    initializeLazyProperty(Object entity, org.hibernate.engine.spi.EntityEntry entry, Object propValue, int index, org.hibernate.type.Type type)
     
    boolean
    initializeLazyProperty(String fieldName, Object entity, org.hibernate.engine.spi.EntityEntry entry, org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeDescriptor fetchGroupAttributeDescriptor, Object propValue)
     
    insert(Object[] fields, Object object, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    void
    insert(Object id, Object[] fields, Object object, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    CompletionStage<org.hibernate.generator.values.GeneratedValues>
    insertReactive(Object[] fields, Object entity, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Insert the given instance state without blocking.
    CompletionStage<org.hibernate.generator.values.GeneratedValues>
    insertReactive(Object id, Object[] fields, Object entity, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Insert the given instance state without blocking.
    boolean
     
    load(Object id, Object optionalObject, org.hibernate.LockOptions lockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    load(Object id, Object optionalObject, org.hibernate.LockOptions lockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor session, Boolean readOnly)
     
    loadByUniqueKey(String propertyName, Object uniqueKey, Boolean readOnly, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    loadByUniqueKey(String propertyName, Object uniqueKey, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    loadEntityIdByNaturalId(Object[] naturalIdValues, org.hibernate.LockOptions lockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    void
    merge(Object id, Object[] values, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, Object[] oldValues, Object oldVersion, Object object, Object rowId, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    mergeReactive(Object id, Object[] values, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, Object[] oldValues, Object oldVersion, Object object, Object rowId, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Update the given instance state without blocking.
    reactiveGetOrCreateLazyLoadPlan(String fieldName, List<org.hibernate.metamodel.mapping.ModelPart> partsToSelect)
     
     
    reactiveLoad(Object id, Object optionalObject, org.hibernate.LockMode lockMode, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    reactiveLoad(Object id, Object optionalObject, org.hibernate.LockOptions lockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    reactiveLoad(Object id, Object optionalObject, org.hibernate.LockOptions lockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor session, Boolean readOnly)
     
    reactiveLoadByUniqueKey(String propertyName, Object uniqueKey, Boolean readOnly, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    reactiveLoadByUniqueKey(String propertyName, Object uniqueKey, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    reactiveLoadEntityIdByNaturalId(Object[] orderedNaturalIdValues, org.hibernate.LockOptions lockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    <K> CompletionStage<? extends List<?>>
    reactiveMultiLoad(K[] ids, org.hibernate.engine.spi.SharedSessionContractImplementor session, org.hibernate.loader.ast.spi.MultiIdLoadOptions loadOptions)
     
    reactiveProcessInsertGenerated(Object id, Object entity, Object[] state, org.hibernate.generator.values.GeneratedValues generatedValues, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Process properties generated with an insert
    reactiveProcessUpdateGenerated(Object id, Object entity, Object[] state, org.hibernate.generator.values.GeneratedValues generatedValues, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Process properties generated with an update
    void
    update(Object id, Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object object, Object rowId, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    CompletionStage<org.hibernate.generator.values.GeneratedValues>
    updateReactive(Object id, Object[] values, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, Object[] oldValues, Object oldVersion, Object object, Object rowId, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Update the given instance state without blocking.
    protected void
     

    Methods inherited from class org.hibernate.persister.entity.UnionSubclassEntityPersister

    containsTableReference, createPrimaryTableReference, createRootTableGroup, generateDiscriminatorMapping, generateSubquery, generateSubquery, getAttributeMutationTableName, getConstraintOrderedTableKeyColumnClosure, getConstraintOrderedTableNameClosure, getDiscriminatorSQLValue, getDiscriminatorType, getDiscriminatorValue, getFilterAliasGenerator, getIdentifierTableDetails, getKeyColumns, getMappedTableDetails, getPropertySpaces, getPropertyTableNumbers, getQuerySpaces, getRootTableName, getSubclassByDiscriminatorValue, getSubclassTableKeyColumns, getSubclassTableName, getSubclassTableNames, getSubclassTableSpan, getTableName, getTableName, getTableSpan, hasDuplicateTables, hasMultipleTables, isClassOrSuperclassTable, isIdentifierTable, isPhysicalDiscriminator, isPropertyOfTable, isTableCascadeDeleteEnabled, needsDiscriminator, physicalTableNameForMutation, pruneForSubclasses, shouldProcessSuperMapping, visitConstraintOrderedTables, visitMutabilityOrderedTables

    Methods inherited from class org.hibernate.persister.entity.AbstractEntityPersister

    addDiscriminatorToInsertGroup, addSoftDeleteToInsertGroup, afterInitialize, afterReassociate, applyBaseRestrictions, applyDiscriminator, applyFilterRestrictions, applySqlSelections, applySqlSelections, applyWhereRestrictions, buildCacheEntry, buildCacheEntryHelper, buildEmbeddedAttributeMapping, buildMergeCoordinator, buildTableMappings, canReadFromCache, canUseReferenceCacheEntries, canWriteToCache, countSubclassProperties, createGeneratedValuesProcessor, createInsertDelegate, createProxy, createTableReferenceJoin, createUpdateDelegate, determineTableName, determineTableNumberForColumn, disassemble, findAttributeMapping, findDeclaredAttributeMapping, findDirty, findModified, findSubPart, findSubTypesSubPart, forceVersionIncrement, forceVersionIncrement, forEachAttributeMapping, forEachAttributeMapping, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachMutableTable, forEachMutableTableReverse, forEachSelectable, generateIdentifierMapping, generateJoinPredicate, generateLocker, generateNonEncapsulatedCompositeIdentifierMapping, generateNonIdAttributeMapping, generateSelectVersionString, generateTableAlias, generateTableReferenceJoin, generateVersionMapping, generateVersionMapping, getAttributeMapping, getAttributeMappings, getBatchSize, getBytecodeEnhancementMetadata, getCacheAccessStrategy, getCacheEntryStructure, getCollectionKey, getConcreteProxyClass, getCurrentVersion, getDatabaseSnapshot, getDeclaredAttributeMappings, getDeleteCoordinator, getDiscriminatorAlias, getDiscriminatorAlias, getDiscriminatorColumnName, getDiscriminatorColumnReaders, getDiscriminatorColumnReaderTemplate, getDiscriminatorDomainType, getDiscriminatorFormulaTemplate, getDiscriminatorMapping, getEntityEntryFactory, getEntityMetamodel, getEntityName, getEntityNameByTableNameMap, getEntityPersister, getFactory, getFetchable, getFetchMode, getIdByUniqueKey, getIdentifier, getIdentifier, getIdentifierAliases, getIdentifierAliases, getIdentifierColumnNames, getIdentifierColumnReaders, getIdentifierColumnReaderTemplates, getIdentifierColumnSpan, getIdentifierDescriptor, getIdentifierGenerator, getIdentifierMapping, getIdentifierPropertyName, getIdentifierTableMapping, getIdentifierTableName, getIdentifierType, getIdentitySelectString, getInsertCoordinator, getInsertDelegate, getInsertGeneratedProperties, getInsertGeneratedValuesProcessor, getInstrumentationMetadata, getJdbcMapping, getJdbcTypeCount, getJpaEntityName, getKeyFetchable, getLazyLoadPlanByFetchGroup, getMappedClass, getMappedJavaType, getMappedSuperclass, getMergeCoordinator, getMultiNaturalIdLoader, getNaturalIdCacheAccessStrategy, getNaturalIdentifierProperties, getNaturalIdentifierSnapshot, getNaturalIdLoader, getNaturalIdMapping, getNavigableRole, getNonLazyPropertyUpdateability, getNumberOfAttributeMappings, getNumberOfDeclaredAttributeMappings, getNumberOfFetchableKeys, getNumberOfFetchables, getPartName, getPropertyAliases, getPropertyCascadeStyles, getPropertyCheckability, getPropertyColumnNames, getPropertyColumnNames, getPropertyIndex, getPropertyInsertability, getPropertyLaziness, getPropertyNames, getPropertyNullability, getPropertySpan, getPropertyType, getPropertyTypes, getPropertyUpdateability, getPropertyUpdateability, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValuesToInsert, getPropertyVersionability, getPrunedDiscriminatorPredicate, getRepresentationStrategy, getRootEntityName, getRootTableIdentifierColumnNames, getRootTableKeyColumnNames, getRowIdMapping, getSelectByUniqueKeyString, getSelectByUniqueKeyString, getSelectByUniqueKeyString, getSingleIdLoader, getSoftDeleteMapping, getSqlAliasStem, getSqlWhereStringTableExpression, getSqmMultiTableInsertStrategy, getSqmMultiTableMutationStrategy, getStateArrayInitialPosition, getStaticFetchableList, getSubclassColumnAliasClosure, getSubclassEntityPersister, getSubclassFormulaAliasClosure, getSubclassPropertyColumnAliases, getSubclassPropertyColumnNameClosure, getSubclassPropertyColumnNames, getSubclassPropertyColumnReaderClosure, getSubclassPropertyColumnReaderTemplateClosure, getSubclassPropertyFormulaTemplateClosure, getSubclassPropertyNameClosure, getSubclassPropertyType, getSubclassPropertyTypeClosure, getSubMappingTypes, getSuperMappingType, getTableId, getTableMapping, getTableMappings, getTableNameForColumn, getTableNames, getTargetPart, getUpdateCoordinator, getUpdateDelegate, getUpdateGeneratedProperties, getUpdateGeneratedValuesProcessor, getVersion, getVersionColumnName, getVersionedTableName, getVersionGenerator, getVersionMapping, getVersionProperty, getVersionSelectString, getVersionType, hasCache, hasCascadeDelete, hasCascadePersist, hasCascades, hasCollectionNotReferencingPK, hasCollections, hasFilterForLoadByKey, hasFormulaProperties, hasIdentifierProperty, hasInsertGeneratedProperties, hasLazyProperties, hasMutableProperties, hasNaturalIdCache, hasNaturalIdentifier, hasOwnedCollections, hasPartitionedSelectionMapping, hasProxy, hasRowId, hasSubclasses, hasSubselectLoadableCollections, hasToOnes, hasUninitializedLazyProperties, hasUpdateGeneratedProperties, hasWhereRestrictions, initializeEnhancedEntityUsedAsProxy, initializeLazyPropertiesFromCache, initializeLazyProperty, initializeLazyProperty, initInsertGeneratedProperties, initPropertyPaths, initSubclassPropertyAliasesMap, initUpdateGeneratedProperties, instantiate, interpretSqmMultiTableInsertStrategy, interpretSqmMultiTableStrategy, isAbstract, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEntityGraph, isCacheInvalidationRequired, isClassOrSuperclassJoin, isConcreteProxy, isDiscriminatorFormula, isExplicitPolymorphism, isIdentifierAssignedByInsert, isInherited, isInstance, isInstrumented, isInverseTable, isLazyPropertiesCacheable, isMutable, isNullableSubclassTable, isNullableTable, isPropertySelectable, isSelectBeforeUpdateRequired, isSharedColumn, isSubclassEntityName, isSubclassTableIndicatedByTreatAsDeclarations, isTransient, isTypeOrSuperType, isVersioned, isVersionGeneratedBeforeExecution, isVersionGeneratedOnExecution, isVersionPropertyGenerated, linkToSession, linkWithSubType, linkWithSuperType, load, lock, lock, lock, lock, logStaticSQL, managesColumns, multiLoad, multiLoad, optimisticLockStyle, postConstruct, postInstantiate, prepareLoaders, prepareMappingModel, processInsertGeneratedProperties, processUpdateGeneratedProperties, registerAffectingFetchProfile, resetIdentifier, resolveAttributeIndexes, resolveConcreteProxyTypeForId, resolveDirtyAttributeIndexes, selectFragment, setIdentifier, setPropertyValue, setPropertyValues, shouldGetAllProperties, shouldInnerJoinSubclassTable, storeDiscriminatorInShallowQueryCacheLayout, substituteBrackets, toColumns, toString, uniqueKeyEntries, useShallowQueryCacheLayout, verifyHasNaturalId, visitAttributeMappings, visitDeclaredAttributeMappings, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables, visitSubParts, visitSubTypeAttributeMappings, visitSuperTypeAttributeMappings

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.hibernate.persister.walking.spi.AttributeSource

    getPropertyIndex

    Methods inherited from interface org.hibernate.metamodel.mapping.Bindable

    forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue

    Methods inherited from interface org.hibernate.metamodel.mapping.EntityMappingType

    applyBaseRestrictions, applyDiscriminator, applyFilterRestrictions, applyWhereRestrictions, asEntityMappingType, createPrimaryTableReference, createRootTableGroup, createTableReferenceJoin, extractConcreteTypeStateValues, findContainingEntityMapping, findDeclaredAttributeMapping, findSubPart, findSubTypesSubPart, forEachAttributeMapping, getAttributeMappings, getContributor, getDeclaredAttributeMappings, getDiscriminatorMapping, getDiscriminatorSQLValue, getDiscriminatorValue, getEntityPersister, getFetchable, getIdentifierMapping, getIdentifierMappingForJoin, getIdentifierTableDetails, getJavaType, getJdbcTypeCount, getMappedJavaType, getMappedSuperclass, getMappedTableDetails, getNaturalIdMapping, getNumberOfAttributeMappings, getNumberOfDeclaredAttributeMappings, getNumberOfFetchables, getPartMappingType, getPartName, getRootEntityDescriptor, getRootPathName, getRowIdMapping, getSoftDeleteMapping, getSoftDeleteTableDetails, getSubclassEntityNames, getSubclassId, getSubMappingTypes, getSuperMappingType, getVersionMapping, hasSubclasses, hasWhereRestrictions, isAbstract, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEntityGraph, isConcreteProxy, isExplicitPolymorphism, isTypeOrSuperType, isTypeOrSuperType, optimisticLockStyle, pruneForSubclasses, resolveConcreteProxyTypeForId, visitAttributeMappings, visitConstraintOrderedTables, visitDeclaredAttributeMappings, visitSubTypeAttributeMappings, visitSuperTypeAttributeMappings

    Methods inherited from interface org.hibernate.persister.entity.mutation.EntityMutationTarget

    addDiscriminatorToInsertGroup, addSoftDeleteToInsertGroup, getAttributeMutationTableName, getIdentifierDescriptor, getIdentifierTableMapping, getIdentityInsertDelegate, getInsertDelegate, getMutationDelegate, getTableMappings, getTargetPart, getUpdateDelegate, physicalTableNameForMutation

    Methods inherited from interface org.hibernate.persister.entity.EntityPersister

    addToCacheKey, afterInitialize, afterReassociate, breakDownJdbcValues, buildCacheEntry, canExtractIdOutOfEntity, canReadFromCache, canUseReferenceCacheEntries, canWriteToCache, countSubclassProperties, createProxy, findDirty, findModified, forceVersionIncrement, forceVersionIncrement, getAttributeMapping, getBatchSize, getBytecodeEnhancementMetadata, getCacheAccessStrategy, getCacheEntryStructure, getConcreteProxyClass, getConstraintOrderedTableKeyColumnClosure, getCurrentVersion, getDatabaseSnapshot, getDeleteCoordinator, getDiscriminatorAlias, getDiscriminatorColumnName, getDiscriminatorDomainType, getDiscriminatorType, getEntityEntryFactory, getEntityMappingType, getEntityMetamodel, getEntityName, getFactory, getFilterAliasGenerator, getFilterAliasGenerator, getGeneratedProperties, getIdByUniqueKey, getIdentifier, getIdentifier, getIdentifier, getIdentifierAliases, getIdentifierColumnNames, getIdentifierGenerator, getIdentifierPropertyName, getIdentifierType, getIdentitySelectString, getImportedName, getInsertCoordinator, getInsertGeneratedProperties, getInstrumentationMetadata, getJpaEntityName, getKeyColumns, getMappedClass, getMergeCoordinator, getMultiNaturalIdLoader, getNaturalIdCacheAccessStrategy, getNaturalIdentifierProperties, getNaturalIdentifierSnapshot, getNonLazyPropertyUpdateability, getPropertyAliases, getPropertyCascadeStyles, getPropertyCheckability, getPropertyColumnNames, getPropertyInsertability, getPropertyLaziness, getPropertyNames, getPropertyNullability, getPropertySpaces, getPropertyType, getPropertyTypes, getPropertyUpdateability, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValuesToInsert, getPropertyVersionability, getQuerySpaces, getRepresentationStrategy, getRootEntityName, getRootTableIdentifierColumnNames, getRootTableKeyColumnNames, getRootTableName, getSelectByUniqueKeyString, getSelectByUniqueKeyString, getSelectByUniqueKeyString, getSqlAliasStem, getSqmMultiTableInsertStrategy, getSqmMultiTableMutationStrategy, getSubclassEntityPersister, getSubclassPropertyColumnAliases, getSubclassPropertyColumnNames, getSubclassTableName, getSubclassTableSpan, getSynchronizationSpaces, getSynchronizedQuerySpaces, getTableName, getTableName, getTableNameForColumn, getTableNames, getTableSpan, getTypeDiscriminatorMetadata, getUpdateCoordinator, getUpdateGeneratedProperties, getValue, getValues, getVersion, getVersionColumnName, getVersionGenerator, getVersionJavaType, getVersionProperty, hasCache, hasCascadeDelete, hasCascadePersist, hasCascades, hasCollectionNotReferencingPK, hasCollections, hasDuplicateTables, hasFilterForLoadByKey, hasIdentifierProperty, hasInsertGeneratedProperties, hasLazyProperties, hasMultipleTables, hasMutableProperties, hasNaturalIdCache, hasNaturalIdentifier, hasOwnedCollections, hasProxy, hasRowId, hasSubselectLoadableCollections, hasToOnes, hasUninitializedLazyProperties, hasUpdateGeneratedProperties, initializeEnhancedEntityUsedAsProxy, instantiate, isBatchLoadable, isCacheInvalidationRequired, isIdentifierAssignedByInsert, isInherited, isInstance, isInstrumented, isInverseTable, isLazyPropertiesCacheable, isMutable, isNullableTable, isPropertySelectable, isSelectBeforeUpdateRequired, isSharedColumn, isSubclassEntityName, isTransient, isVersioned, isVersionPropertyGenerated, load, load, lock, lock, lock, lock, managesColumns, multiLoad, multiLoad, postInstantiate, prepareLoaders, processInsertGeneratedProperties, processInsertGeneratedProperties, processUpdateGeneratedProperties, processUpdateGeneratedProperties, resetIdentifier, resolveAttributeIndexes, resolveDirtyAttributeIndexes, selectFragment, setIdentifier, setPropertyValue, setPropertyValues, setValue, setValues, storeDiscriminatorInShallowQueryCacheLayout, toColumns, uniqueKeyEntries, useShallowQueryCacheLayout, visitQuerySpaces

    Methods inherited from interface org.hibernate.metamodel.mapping.EntityValuedModelPart

    applySqlSelections, applySqlSelections, disassemble, findSubPart, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachSubPart, visitSubParts

    Methods inherited from interface org.hibernate.sql.results.graph.FetchableContainer

    getKeyFetchable, getNumberOfFetchableKeys, getNumberOfKeyFetchables, getSelectableIndex, visitFetchables, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables, visitKeyFetchables

    Methods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable

    applyFilterRestrictions

    Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer

    getJdbcMapping, getSingleJdbcMapping

    Methods inherited from interface org.hibernate.loader.ast.spi.Loadable

    isAffectedByEnabledFilters, isAffectedByInfluencers, isAffectedByInfluencers, isNotAffectedByInfluencers

    Methods inherited from interface org.hibernate.metamodel.mapping.ManagedMappingType

    anyRequiresAggregateColumnWriter, findAttributeMapping, forEachAttributeMapping, hasPartitionedSelectionMapping, isAffectedByEnabledFilters

    Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart

    areEqual, asAttributeMapping, asBasicValuedModelPart, breakDownJdbcValues, decompose, decompose, forEachSelectable, forEachSelectable, getNavigableRole, isEntityIdentifierMapping, isVirtual

    Methods inherited from interface org.hibernate.metamodel.mapping.ModelPartContainer

    findByPath, findByPath, forEachSubPart

    Methods inherited from interface org.hibernate.sql.model.MutationTarget

    forEachMutableTable, forEachMutableTableReverse, getIdentifierTableName, getNavigableRole, getRolePath

    Methods inherited from interface org.hibernate.metamodel.mapping.Restrictable

    applyBaseRestrictions

    Methods inherited from interface org.hibernate.sql.ast.tree.from.TableGroupProducer

    containsTableReference
  • Constructor Details

    • ReactiveUnionSubclassEntityPersister

      public ReactiveUnionSubclassEntityPersister(org.hibernate.mapping.PersistentClass persistentClass, org.hibernate.cache.spi.access.EntityDataAccess cacheAccessStrategy, org.hibernate.cache.spi.access.NaturalIdDataAccess naturalIdRegionAccessStrategy, org.hibernate.metamodel.spi.RuntimeModelCreationContext creationContext) throws org.hibernate.HibernateException
      Throws:
      org.hibernate.HibernateException
  • Method Details

    • initializeLazyProperty

      public boolean initializeLazyProperty(String fieldName, Object entity, org.hibernate.engine.spi.EntityEntry entry, org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeDescriptor fetchGroupAttributeDescriptor, Object propValue)
      Specified by:
      initializeLazyProperty in interface ReactiveAbstractEntityPersister
      Overrides:
      initializeLazyProperty in class org.hibernate.persister.entity.AbstractEntityPersister
    • initializeLazyProperty

      public void initializeLazyProperty(Object entity, org.hibernate.engine.spi.EntityEntry entry, Object propValue, int index, org.hibernate.type.Type type)
      Specified by:
      initializeLazyProperty in interface ReactiveAbstractEntityPersister
      Overrides:
      initializeLazyProperty in class org.hibernate.persister.entity.AbstractEntityPersister
    • buildSingleIdEntityLoader

      protected org.hibernate.loader.ast.spi.SingleIdEntityLoader<?> buildSingleIdEntityLoader()
      Overrides:
      buildSingleIdEntityLoader in class org.hibernate.persister.entity.AbstractEntityPersister
    • buildMultiIdLoader

      protected org.hibernate.loader.ast.spi.MultiIdEntityLoader<?> buildMultiIdLoader()
      Overrides:
      buildMultiIdLoader in class org.hibernate.persister.entity.AbstractEntityPersister
    • buildSingularAssociationAttributeMapping

      protected org.hibernate.metamodel.mapping.AttributeMapping buildSingularAssociationAttributeMapping(String attrName, org.hibernate.metamodel.model.domain.NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, org.hibernate.mapping.Property bootProperty, org.hibernate.metamodel.mapping.ManagedMappingType declaringType, org.hibernate.persister.entity.EntityPersister declaringEntityPersister, org.hibernate.type.EntityType attrType, org.hibernate.property.access.spi.PropertyAccess propertyAccess, org.hibernate.engine.spi.CascadeStyle cascadeStyle, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess)
      Overrides:
      buildSingularAssociationAttributeMapping in class org.hibernate.persister.entity.AbstractEntityPersister
    • buildPluralAttributeMapping

      protected org.hibernate.metamodel.mapping.AttributeMapping buildPluralAttributeMapping(String attrName, int stateArrayPosition, int fetchableIndex, org.hibernate.mapping.Property bootProperty, org.hibernate.metamodel.mapping.ManagedMappingType declaringType, org.hibernate.property.access.spi.PropertyAccess propertyAccess, org.hibernate.engine.spi.CascadeStyle cascadeStyle, org.hibernate.FetchMode fetchMode, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess)
      Overrides:
      buildPluralAttributeMapping in class org.hibernate.persister.entity.AbstractEntityPersister
    • determineLoaderToUse

      public org.hibernate.loader.ast.spi.SingleIdEntityLoader<?> determineLoaderToUse(org.hibernate.engine.spi.SharedSessionContractImplementor session, org.hibernate.LockOptions lockOptions)
      Specified by:
      determineLoaderToUse in interface ReactiveAbstractEntityPersister
      Overrides:
      determineLoaderToUse in class org.hibernate.persister.entity.AbstractEntityPersister
    • generateNaturalIdMapping

      public org.hibernate.metamodel.mapping.NaturalIdMapping generateNaturalIdMapping(org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess, org.hibernate.mapping.PersistentClass bootEntityDescriptor)
      Specified by:
      generateNaturalIdMapping in interface ReactiveAbstractEntityPersister
      Overrides:
      generateNaturalIdMapping in class org.hibernate.persister.entity.AbstractEntityPersister
      See Also:
      • AbstractEntityPersister.generateNaturalIdMapping(MappingModelCreationProcess, PersistentClass)
    • buildInsertCoordinator

      protected org.hibernate.persister.entity.mutation.InsertCoordinator buildInsertCoordinator()
      Overrides:
      buildInsertCoordinator in class org.hibernate.persister.entity.AbstractEntityPersister
    • buildUpdateCoordinator

      protected org.hibernate.persister.entity.mutation.UpdateCoordinator buildUpdateCoordinator()
      Overrides:
      buildUpdateCoordinator in class org.hibernate.persister.entity.AbstractEntityPersister
    • buildDeleteCoordinator

      protected org.hibernate.persister.entity.mutation.DeleteCoordinator buildDeleteCoordinator()
      Overrides:
      buildDeleteCoordinator in class org.hibernate.persister.entity.AbstractEntityPersister
    • createDomainResult

      public <T> org.hibernate.sql.results.graph.DomainResult<T> createDomainResult(org.hibernate.spi.NavigablePath navigablePath, org.hibernate.sql.ast.tree.from.TableGroup tableGroup, String resultVariable, org.hibernate.sql.results.graph.DomainResultCreationState creationState)
      Specified by:
      createDomainResult in interface org.hibernate.metamodel.mapping.EntityValuedModelPart
      Specified by:
      createDomainResult in interface org.hibernate.metamodel.mapping.ModelPart
      Overrides:
      createDomainResult in class org.hibernate.persister.entity.AbstractEntityPersister
    • validateGenerator

      protected void validateGenerator()
      Overrides:
      validateGenerator in class org.hibernate.persister.entity.UnionSubclassEntityPersister
    • getGenerator

      public org.hibernate.generator.Generator getGenerator() throws org.hibernate.HibernateException
      Specified by:
      getGenerator in interface org.hibernate.persister.entity.EntityPersister
      Overrides:
      getGenerator in class org.hibernate.persister.entity.AbstractEntityPersister
      Throws:
      org.hibernate.HibernateException
    • insert

      public Object insert(Object[] fields, Object object, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      insert in interface org.hibernate.persister.entity.EntityPersister
      See Also:
    • insert

      public void insert(Object id, Object[] fields, Object object, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      insert in interface org.hibernate.persister.entity.EntityPersister
      See Also:
    • delete

      public void delete(Object id, Object version, Object object, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      delete in interface org.hibernate.persister.entity.EntityPersister
      See Also:
    • update

      public void update(Object id, Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object object, Object rowId, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException
      Specified by:
      update in interface org.hibernate.persister.entity.EntityPersister
      Throws:
      org.hibernate.HibernateException
      See Also:
    • merge

      public void merge(Object id, Object[] values, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, Object[] oldValues, Object oldVersion, Object object, Object rowId, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException
      Specified by:
      merge in interface org.hibernate.persister.entity.EntityPersister
      Throws:
      org.hibernate.HibernateException
      See Also:
    • reactiveProcessInsertGenerated

      public CompletionStage<Void> reactiveProcessInsertGenerated(Object id, Object entity, Object[] state, org.hibernate.generator.values.GeneratedValues generatedValues, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Process properties generated with an insert
      Specified by:
      reactiveProcessInsertGenerated in interface ReactiveEntityPersister
      See Also:
      • EntityPersister.processInsertGeneratedProperties(Object, Object, Object[], SharedSessionContractImplementor)
    • reactiveProcessUpdateGenerated

      public CompletionStage<Void> reactiveProcessUpdateGenerated(Object id, Object entity, Object[] state, org.hibernate.generator.values.GeneratedValues generatedValues, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Process properties generated with an update
      Specified by:
      reactiveProcessUpdateGenerated in interface ReactiveEntityPersister
      See Also:
      • EntityPersister.processUpdateGeneratedProperties(Object, Object, Object[], SharedSessionContractImplementor)
    • initializeLazyPropertiesFromDatastore

      protected Object initializeLazyPropertiesFromDatastore(Object entity, Object id, org.hibernate.engine.spi.EntityEntry entry, String fieldName, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Overrides:
      initializeLazyPropertiesFromDatastore in class org.hibernate.persister.entity.AbstractEntityPersister
    • reactiveLoad

      public CompletionStage<?> reactiveLoad(Object id, Object optionalObject, org.hibernate.LockMode lockMode, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      reactiveLoad in interface ReactiveEntityPersister
    • load

      public Object load(Object id, Object optionalObject, org.hibernate.LockOptions lockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      load in interface org.hibernate.persister.entity.EntityPersister
      Overrides:
      load in class org.hibernate.persister.entity.AbstractEntityPersister
    • reactiveLoad

      public CompletionStage<?> reactiveLoad(Object id, Object optionalObject, org.hibernate.LockOptions lockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      reactiveLoad in interface ReactiveEntityPersister
    • load

      public Object load(Object id, Object optionalObject, org.hibernate.LockOptions lockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor session, Boolean readOnly)
      Specified by:
      load in interface org.hibernate.persister.entity.EntityPersister
      Overrides:
      load in class org.hibernate.persister.entity.AbstractEntityPersister
    • reactiveLoad

      public CompletionStage<?> reactiveLoad(Object id, Object optionalObject, org.hibernate.LockOptions lockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor session, Boolean readOnly)
      Specified by:
      reactiveLoad in interface ReactiveEntityPersister
    • insertReactive

      public CompletionStage<org.hibernate.generator.values.GeneratedValues> insertReactive(Object id, Object[] fields, Object entity, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Description copied from interface: ReactiveEntityPersister
      Insert the given instance state without blocking.
      Specified by:
      insertReactive in interface ReactiveEntityPersister
      See Also:
      • EntityPersister.insert(Object, Object[], Object, SharedSessionContractImplementor)
    • insertReactive

      public CompletionStage<org.hibernate.generator.values.GeneratedValues> insertReactive(Object[] fields, Object entity, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Description copied from interface: ReactiveEntityPersister
      Insert the given instance state without blocking.
      Specified by:
      insertReactive in interface ReactiveEntityPersister
      See Also:
      • EntityPersister.insert(Object[], Object, SharedSessionContractImplementor)
    • deleteReactive

      public CompletionStage<Void> deleteReactive(Object id, Object version, Object entity, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Description copied from interface: ReactiveEntityPersister
      Delete the given instance without blocking.
      Specified by:
      deleteReactive in interface ReactiveEntityPersister
      See Also:
      • EntityPersister.delete(Object, Object, Object, SharedSessionContractImplementor)
    • updateReactive

      public CompletionStage<org.hibernate.generator.values.GeneratedValues> updateReactive(Object id, Object[] values, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, Object[] oldValues, Object oldVersion, Object object, Object rowId, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Description copied from interface: ReactiveEntityPersister
      Update the given instance state without blocking.
      Specified by:
      updateReactive in interface ReactiveEntityPersister
      See Also:
      • EntityPersister.update(Object, Object[], int[], boolean, Object[], Object, Object, Object, SharedSessionContractImplementor)
    • mergeReactive

      public CompletionStage<Void> mergeReactive(Object id, Object[] values, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, Object[] oldValues, Object oldVersion, Object object, Object rowId, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Description copied from interface: ReactiveEntityPersister
      Update the given instance state without blocking.
      Specified by:
      mergeReactive in interface ReactiveEntityPersister
      See Also:
    • reactiveMultiLoad

      public <K> CompletionStage<? extends List<?>> reactiveMultiLoad(K[] ids, org.hibernate.engine.spi.SharedSessionContractImplementor session, org.hibernate.loader.ast.spi.MultiIdLoadOptions loadOptions)
      Specified by:
      reactiveMultiLoad in interface ReactiveEntityPersister
    • reactiveLoadEntityIdByNaturalId

      public CompletionStage<?> reactiveLoadEntityIdByNaturalId(Object[] orderedNaturalIdValues, org.hibernate.LockOptions lockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      reactiveLoadEntityIdByNaturalId in interface ReactiveEntityPersister
      See Also:
      • AbstractEntityPersister.loadEntityIdByNaturalId(Object[], LockOptions, SharedSessionContractImplementor)
    • loadEntityIdByNaturalId

      public Object loadEntityIdByNaturalId(Object[] naturalIdValues, org.hibernate.LockOptions lockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      loadEntityIdByNaturalId in interface org.hibernate.persister.entity.EntityPersister
      Overrides:
      loadEntityIdByNaturalId in class org.hibernate.persister.entity.AbstractEntityPersister
    • loadByUniqueKey

      public Object loadByUniqueKey(String propertyName, Object uniqueKey, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      loadByUniqueKey in interface org.hibernate.metamodel.mapping.EntityMappingType
      Specified by:
      loadByUniqueKey in interface org.hibernate.persister.entity.EntityPersister
      Overrides:
      loadByUniqueKey in class org.hibernate.persister.entity.AbstractEntityPersister
    • loadByUniqueKey

      public Object loadByUniqueKey(String propertyName, Object uniqueKey, Boolean readOnly, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Overrides:
      loadByUniqueKey in class org.hibernate.persister.entity.AbstractEntityPersister
    • reactiveLoadByUniqueKey

      public CompletionStage<Object> reactiveLoadByUniqueKey(String propertyName, Object uniqueKey, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException
      Specified by:
      reactiveLoadByUniqueKey in interface ReactiveEntityPersister
      Throws:
      org.hibernate.HibernateException
    • reactiveLoadByUniqueKey

      public CompletionStage<Object> reactiveLoadByUniqueKey(String propertyName, Object uniqueKey, Boolean readOnly, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException
      Specified by:
      reactiveLoadByUniqueKey in interface ReactiveEntityPersister
      Throws:
      org.hibernate.HibernateException
    • getUniqueKeyLoader

      protected org.hibernate.loader.ast.spi.SingleUniqueKeyEntityLoader<?> getUniqueKeyLoader(String attributeName, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Overrides:
      getUniqueKeyLoader in class org.hibernate.persister.entity.AbstractEntityPersister
    • getReactiveUniqueKeyLoader

      protected ReactiveSingleUniqueKeyEntityLoader<Object> getReactiveUniqueKeyLoader(String attributeName)
    • reactiveGetSQLLazySelectLoadPlan

      public ReactiveSingleIdArrayLoadPlan reactiveGetSQLLazySelectLoadPlan(String fetchGroup)
      Specified by:
      reactiveGetSQLLazySelectLoadPlan in interface ReactiveAbstractEntityPersister
    • reactiveGetOrCreateLazyLoadPlan

      public ReactiveSingleIdArrayLoadPlan reactiveGetOrCreateLazyLoadPlan(String fieldName, List<org.hibernate.metamodel.mapping.ModelPart> partsToSelect)
      Specified by:
      reactiveGetOrCreateLazyLoadPlan in interface ReactiveAbstractEntityPersister
    • isNonLazyPropertyName

      public boolean isNonLazyPropertyName(String fieldName)
      Specified by:
      isNonLazyPropertyName in interface ReactiveAbstractEntityPersister
      Overrides:
      isNonLazyPropertyName in class org.hibernate.persister.entity.AbstractEntityPersister