Class ReactiveInsertCoordinatorStandard

  • All Implemented Interfaces:
    org.hibernate.persister.entity.mutation.InsertCoordinator, org.hibernate.persister.entity.mutation.MutationCoordinator, ReactiveInsertCoordinator

    @Internal
    public class ReactiveInsertCoordinatorStandard
    extends org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
    implements ReactiveInsertCoordinator, org.hibernate.persister.entity.mutation.InsertCoordinator
    See Also:
    InsertCoordinatorStandard
    • Method Detail

      • insert

        public org.hibernate.generator.values.GeneratedValues insert​(Object entity,
                                                                     Object[] values,
                                                                     SharedSessionContractImplementor session)
        Specified by:
        insert in interface org.hibernate.persister.entity.mutation.InsertCoordinator
      • insert

        public org.hibernate.generator.values.GeneratedValues insert​(Object entity,
                                                                     Object id,
                                                                     Object[] values,
                                                                     SharedSessionContractImplementor session)
        Specified by:
        insert in interface org.hibernate.persister.entity.mutation.InsertCoordinator
      • decomposeForReactiveInsert

        protected CompletionStage<Void> decomposeForReactiveInsert​(org.hibernate.engine.jdbc.mutation.MutationExecutor mutationExecutor,
                                                                   Object id,
                                                                   Object[] values,
                                                                   org.hibernate.sql.model.MutationOperationGroup mutationGroup,
                                                                   boolean[] propertyInclusions,
                                                                   org.hibernate.engine.jdbc.mutation.TableInclusionChecker tableInclusionChecker,
                                                                   SharedSessionContractImplementor session)
      • getTableInclusionChecker

        protected static org.hibernate.engine.jdbc.mutation.TableInclusionChecker getTableInclusionChecker​(org.hibernate.persister.entity.mutation.InsertCoordinatorStandard.InsertValuesAnalysis insertValuesAnalysis)
      • resolveBatchKeyAccess

        protected org.hibernate.engine.jdbc.mutation.spi.BatchKeyAccess resolveBatchKeyAccess​(boolean dynamicUpdate,
                                                                                              SharedSessionContractImplementor session)
        Overrides:
        resolveBatchKeyAccess in class org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
      • getBatchKey

        public org.hibernate.engine.jdbc.batch.internal.BasicBatchKey getBatchKey()
        Specified by:
        getBatchKey in class org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
      • getStaticMutationOperationGroup

        @Deprecated
        public org.hibernate.sql.model.MutationOperationGroup getStaticMutationOperationGroup()
        Deprecated.
        Specified by:
        getStaticMutationOperationGroup in interface org.hibernate.persister.entity.mutation.MutationCoordinator
      • decomposeAttribute

        protected void decomposeAttribute​(Object value,
                                          SharedSessionContractImplementor session,
                                          org.hibernate.engine.jdbc.mutation.JdbcValueBindings jdbcValueBindings,
                                          org.hibernate.metamodel.mapping.AttributeMapping mapping)
      • getPropertiesToInsert

        public boolean[] getPropertiesToInsert​(Object[] fields)
        Transform the array of property indexes to an array of booleans, true when the property is insertable and non-null
      • generateDynamicInsertSqlGroup

        protected org.hibernate.sql.model.MutationOperationGroup generateDynamicInsertSqlGroup​(boolean[] insertable,
                                                                                               Object object,
                                                                                               SharedSessionContractImplementor session,
                                                                                               boolean forceIdentifierBinding)
      • generateStaticOperationGroup

        public org.hibernate.sql.model.MutationOperationGroup generateStaticOperationGroup()
      • breakDownJdbcValue

        protected void breakDownJdbcValue​(Object id,
                                          SharedSessionContractImplementor session,
                                          org.hibernate.engine.jdbc.mutation.JdbcValueBindings jdbcValueBindings,
                                          org.hibernate.persister.entity.mutation.EntityTableMapping tableDetails)