Interface JpaCriteriaInsert<T>
- All Superinterfaces:
CommonAbstractCriteria, JpaCriteriaBase, JpaCriteriaNode, JpaCteContainer, JpaManipulationCriteria<T>, JpaQueryableCriteria<T>, Serializable
- All Known Subinterfaces:
JpaCriteriaInsertSelect<T>, JpaCriteriaInsertValues<T>, SqmInsertStatement<T>
- All Known Implementing Classes:
AbstractSqmInsertStatement, SqmInsertSelectStatement, SqmInsertValuesStatement
The commonalities between insert-select and insert-values.
- Since:
- 6.5
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new conflict clause for this insert statement.Returns the conflict clause that defines what happens when an insert violates a unique constraint, ornullif there is none.Returns the insertion target paths.Sets the conflict clause that defines what happens when an insert violates a unique constraint.onConflict(JpaConflictClause<T> conflictClause) Sets the conflict clause that defines what happens when an insert violates a unique constraint.setInsertionTargetPaths(Path<?>... insertionTargetPaths) Sets the insertion target paths.setInsertionTargetPaths(List<? extends Path<?>> insertionTargetPaths) Sets the insertion target paths.Methods inherited from interface CommonAbstractCriteria
getParameters, subqueryMethods inherited from interface JpaCriteriaBase
getRestriction, subqueryMethods inherited from interface JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinctMethods inherited from interface JpaManipulationCriteria
getTarget, setTarget
-
Method Details
-
getInsertionTargetPaths
-
setInsertionTargetPaths
Sets the insertion target paths. -
setInsertionTargetPaths
-
onConflict
Sets the conflict clause that defines what happens when an insert violates a unique constraint. -
onConflict
Sets the conflict clause that defines what happens when an insert violates a unique constraint. -
getConflictClause
Returns the conflict clause that defines what happens when an insert violates a unique constraint, ornullif there is none. -
createConflictClause
Create a new conflict clause for this insert statement.- Returns:
- a new conflict clause
- See Also:
-