Interface SqmInsertStatement<T>
- All Superinterfaces:
CommonAbstractCriteria,JpaCriteriaBase,JpaCriteriaInsert<T>,JpaCriteriaNode,JpaCteContainer,JpaManipulationCriteria<T>,JpaQueryableCriteria<T>,Serializable,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 org.hibernate.query.sqm.tree.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 jakarta.persistence.criteria.CommonAbstractCriteria
getParameters, subqueryMethods inherited from interface org.hibernate.query.criteria.JpaCriteriaBase
getRestriction, subqueryMethods inherited from interface org.hibernate.query.criteria.JpaCriteriaInsert
createConflictClause, onConflict, onConflictMethods inherited from interface org.hibernate.query.criteria.JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinctMethods inherited from interface org.hibernate.query.sqm.tree.cte.SqmCteContainer
getCteStatement, getCteStatementsMethods inherited from interface org.hibernate.query.sqm.tree.SqmDmlStatement
getTarget, setTargetMethods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilderMethods inherited from interface org.hibernate.query.sqm.tree.SqmQuery
generateAliasMethods inherited from interface org.hibernate.query.sqm.tree.SqmStatement
getQuerySource, getSqmParameters, resolveParametersMethods inherited from interface org.hibernate.query.sqm.tree.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>
-