Class TableBasedInsertHandler
java.lang.Object
org.hibernate.query.sqm.mutation.internal.temptable.TableBasedInsertHandler
- All Implemented Interfaces:
Handler
,InsertHandler
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionTableBasedInsertHandler
(SqmInsertStatement<?> sqmInsert, DomainParameterXref domainParameterXref, TemporaryTable entityTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor, String> sessionUidAccess, SessionFactoryImplementor sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionbuildExecutionDelegate
(SqmInsertStatement<?> sqmInsert, MultiTableSqmMutationConverter sqmConverter, TemporaryTable entityTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor, String> sessionUidAccess, DomainParameterXref domainParameterXref, TableGroup insertingTableGroup, Map<String, TableReference> tableReferenceByAlias, List<Assignment> assignments, InsertSelectStatement insertStatement, ConflictClause conflictClause, JdbcParameter sessionUidParameter, DomainQueryExecutionContext executionContext) For Hibernate Reactiveint
execute
(DomainQueryExecutionContext executionContext) Execute the multi-table update or delete indicated by the SQM AST passed in when this Handler was created.resolveDelegate
(DomainQueryExecutionContext executionContext)
-
Constructor Details
-
TableBasedInsertHandler
public TableBasedInsertHandler(SqmInsertStatement<?> sqmInsert, DomainParameterXref domainParameterXref, TemporaryTable entityTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor, String> sessionUidAccess, SessionFactoryImplementor sessionFactory)
-
-
Method Details
-
getSqmInsertStatement
-
execute
Description copied from interface:Handler
Execute the multi-table update or delete indicated by the SQM AST passed in when this Handler was created. -
resolveDelegate
protected TableBasedInsertHandler.ExecutionDelegate resolveDelegate(DomainQueryExecutionContext executionContext) -
buildExecutionDelegate
protected TableBasedInsertHandler.ExecutionDelegate buildExecutionDelegate(SqmInsertStatement<?> sqmInsert, MultiTableSqmMutationConverter sqmConverter, TemporaryTable entityTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor, String> sessionUidAccess, DomainParameterXref domainParameterXref, TableGroup insertingTableGroup, Map<String, TableReference> tableReferenceByAlias, List<Assignment> assignments, InsertSelectStatement insertStatement, ConflictClause conflictClause, JdbcParameter sessionUidParameter, DomainQueryExecutionContext executionContext) For Hibernate Reactive
-