Class TableBasedInsertHandler
- java.lang.Object
-
- org.hibernate.query.sqm.mutation.internal.temptable.TableBasedInsertHandler
-
- All Implemented Interfaces:
Handler
,InsertHandler
public class TableBasedInsertHandler extends Object implements InsertHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TableBasedInsertHandler.ExecutionDelegate
-
Constructor Summary
Constructors Constructor Description TableBasedInsertHandler(SqmInsertStatement<?> sqmInsert, DomainParameterXref domainParameterXref, TemporaryTable entityTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor,String> sessionUidAccess, SessionFactoryImplementor sessionFactory)
-
Method Summary
-
-
-
Constructor Detail
-
TableBasedInsertHandler
public TableBasedInsertHandler(SqmInsertStatement<?> sqmInsert, DomainParameterXref domainParameterXref, TemporaryTable entityTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor,String> sessionUidAccess, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
getSqmInsertStatement
public SqmInsertStatement<?> getSqmInsertStatement()
-
execute
public int execute(DomainQueryExecutionContext executionContext)
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
-
-