Uses of Interface
org.hibernate.query.criteria.JpaConflictClause
Packages that use JpaConflictClause
Package
Description
The JPA-standard criteria query API defines all the operations needed express
any query written in standard JPQL.
Nodes representing
insert
statements in the SQM tree.-
Uses of JpaConflictClause in org.hibernate.query.criteria
Methods in org.hibernate.query.criteria that return JpaConflictClauseModifier and TypeMethodDescriptionJpaConflictClause.conflictOnConstraint
(@Nullable String constraintName) Sets the unique constraint name for which a constraint violation is allowed.JpaConflictClause.conflictOnConstraintAttributes
(SingularAttribute<T, ?>... attributes) Shorthand for callingconflictOnConstraintPaths(List)
with paths resolved for the given attributes against the insert target.JpaConflictClause.conflictOnConstraintAttributes
(String... attributes) Shorthand for callingconflictOnConstraintPaths(List)
with paths resolved for the given attributes against the insert target.JpaConflictClause.conflictOnConstraintPaths
(Path<?>... paths) JpaConflictClause.conflictOnConstraintPaths
(List<? extends Path<?>> paths) Sets the paths which are part of a unique constraint, for which a constraint violation is allowed.JpaCriteriaInsert.createConflictClause()
Create a new conflict clause for this insert statement.@Nullable JpaConflictClause<T>
JpaCriteriaInsert.getConflictClause()
Returns the conflict clause that defines what happens when an insert violates a unique constraint, ornull
if there is none.JpaCriteriaInsert.onConflict()
Sets the conflict clause that defines what happens when an insert violates a unique constraint.JpaConflictClause.onConflictDo
(@Nullable JpaConflictUpdateAction<T> action) Sets the action to do on a conflict.default JpaConflictClause<T>
JpaConflictClause.onConflictDoNothing()
Shorthand version for callingonConflictDo(JpaConflictUpdateAction)
with anull
argument.Methods in org.hibernate.query.criteria with parameters of type JpaConflictClauseModifier and TypeMethodDescriptionJpaCriteriaInsert.onConflict
(@Nullable JpaConflictClause<T> conflictClause) Sets the conflict clause that defines what happens when an insert violates a unique constraint.JpaCriteriaInsertSelect.onConflict
(JpaConflictClause<T> conflictClause) JpaCriteriaInsertValues.onConflict
(JpaConflictClause<T> conflictClause) -
Uses of JpaConflictClause in org.hibernate.query.sqm.tree.insert
Classes in org.hibernate.query.sqm.tree.insert that implement JpaConflictClauseMethods in org.hibernate.query.sqm.tree.insert that return JpaConflictClauseModifier and TypeMethodDescriptionSqmConflictClause.conflictOnConstraintAttributes
(SingularAttribute<T, ?>... attributes) SqmConflictClause.conflictOnConstraintAttributes
(String... attributes) AbstractSqmInsertStatement.onConflict()
SqmConflictClause.onConflictDo
(JpaConflictUpdateAction<T> action) Methods in org.hibernate.query.sqm.tree.insert with parameters of type JpaConflictClauseModifier and TypeMethodDescriptionAbstractSqmInsertStatement.onConflict
(@Nullable JpaConflictClause<T> conflictClause) SqmInsertSelectStatement.onConflict
(JpaConflictClause<T> conflictClause) SqmInsertValuesStatement.onConflict
(JpaConflictClause<T> conflictClause)