Interface SqmInsertStatement<T>
- All Superinterfaces:
CommonAbstractCriteria, JpaCriteriaBase, JpaCriteriaInsert<T>, JpaCriteriaNode, JpaCteContainer, JpaManipulationCriteria<T>, JpaQueryableCriteria<T>, Serializable, SqmCacheable, SqmCteContainer, SqmDmlStatement<T>, SqmNode, SqmQuery<T>, SqmStatement<T>, SqmVisitableNode
- All Known Implementing Classes:
AbstractSqmInsertStatement, SqmInsertSelectStatement, SqmInsertValuesStatement
The general contract for INSERT statements. At the moment only the INSERT-SELECT
forms is implemented/supported.
-
Nested Class Summary
Nested classes/interfaces inherited from interface SqmStatement
SqmStatement.ParameterResolutions -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy(SqmCopyContext context) @Nullable SqmConflictClause<T> Returns the conflict clause that defines what happens when an insert violates a unique constraint, ornullif there is none.Returns the insertion target paths.setInsertionTargetPaths(Path<?>... insertionTargetPaths) Sets the insertion target paths.setInsertionTargetPaths(List<? extends Path<?>> insertionTargetPaths) Sets the insertion target paths.voidvisitInsertionTargetPaths(Consumer<SqmPath<?>> consumer) Methods inherited from interface CommonAbstractCriteria
getParameters, subqueryMethods inherited from interface JpaCriteriaBase
getRestriction, subqueryMethods inherited from interface JpaCriteriaInsert
createConflictClause, onConflict, onConflictMethods inherited from interface JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinctMethods inherited from interface SqmCacheable
cacheHashCode, isCompatibleMethods inherited from interface SqmCteContainer
getCteStatement, getCteStatementsMethods inherited from interface SqmDmlStatement
getTarget, setTargetMethods inherited from interface SqmNode
asLoggableText, nodeBuilderMethods inherited from interface SqmQuery
generateAliasMethods inherited from interface SqmStatement
getQuerySource, getSqmParameters, resolveParametersMethods inherited from interface SqmVisitableNode
accept, appendHqlString, toHqlString
-
Method Details
-
getInsertionTargetPaths
Description copied from interface:JpaCriteriaInsertReturns the insertion target paths.- Specified by:
getInsertionTargetPathsin interfaceJpaCriteriaInsert<T>
-
setInsertionTargetPaths
Description copied from interface:JpaCriteriaInsertSets the insertion target paths.- Specified by:
setInsertionTargetPathsin interfaceJpaCriteriaInsert<T>
-
setInsertionTargetPaths
Description copied from interface:JpaCriteriaInsertSets the insertion target paths.- Specified by:
setInsertionTargetPathsin interfaceJpaCriteriaInsert<T>
-
copy
-
visitInsertionTargetPaths
-
getConflictClause
@Nullable SqmConflictClause<T> getConflictClause()Description copied from interface:JpaCriteriaInsertReturns the conflict clause that defines what happens when an insert violates a unique constraint, ornullif there is none.- Specified by:
getConflictClausein interfaceJpaCriteriaInsert<T>
-