Uses of Interface
org.hibernate.query.criteria.JpaConflictClause
-
Packages that use JpaConflictClause Package Description org.hibernate.query.criteria The JPA-standard criteria query API defines all the operations needed express any query written in standard JPQL.org.hibernate.query.sqm.tree.insert Nodes representinginsert
statements in the SQM tree. -
-
Uses of JpaConflictClause in org.hibernate.query.criteria
Methods in org.hibernate.query.criteria that return JpaConflictClause Modifier and Type Method Description JpaConflictClause<T>
JpaConflictClause. conflictOnConstraint(@Nullable String constraintName)
Sets the unique constraint name for which a constraint violation is allowed.JpaConflictClause<T>
JpaConflictClause. conflictOnConstraintAttributes(SingularAttribute<T,?>... attributes)
Shorthand for callingconflictOnConstraintPaths(List)
with paths resolved for the given attributes against the insert target.JpaConflictClause<T>
JpaConflictClause. conflictOnConstraintAttributes(String... attributes)
Shorthand for callingconflictOnConstraintPaths(List)
with paths resolved for the given attributes against the insert target.JpaConflictClause<T>
JpaConflictClause. conflictOnConstraintPaths(Path<?>... paths)
JpaConflictClause<T>
JpaConflictClause. conflictOnConstraintPaths(List<? extends Path<?>> paths)
Sets the paths which are part of a unique constraint, for which a constraint violation is allowed.JpaConflictClause<T>
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.JpaConflictClause<T>
JpaCriteriaInsert. onConflict()
Sets the conflict clause that defines what happens when an insert violates a unique constraint.JpaConflictClause<T>
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 JpaConflictClause Modifier and Type Method Description JpaCriteriaInsert<T>
JpaCriteriaInsert. onConflict(@Nullable JpaConflictClause<T> conflictClause)
Sets the conflict clause that defines what happens when an insert violates a unique constraint.JpaCriteriaInsertSelect<T>
JpaCriteriaInsertSelect. onConflict(JpaConflictClause<T> conflictClause)
JpaCriteriaInsertValues<T>
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 JpaConflictClause Modifier and Type Class Description class
SqmConflictClause<T>
Methods in org.hibernate.query.sqm.tree.insert that return JpaConflictClause Modifier and Type Method Description JpaConflictClause<T>
SqmConflictClause. conflictOnConstraintAttributes(SingularAttribute<T,?>... attributes)
JpaConflictClause<T>
SqmConflictClause. conflictOnConstraintAttributes(String... attributes)
JpaConflictClause<T>
AbstractSqmInsertStatement. onConflict()
JpaConflictClause<T>
SqmConflictClause. onConflictDo(JpaConflictUpdateAction<T> action)
Methods in org.hibernate.query.sqm.tree.insert with parameters of type JpaConflictClause Modifier and Type Method Description JpaCriteriaInsert<T>
AbstractSqmInsertStatement. onConflict(@Nullable JpaConflictClause<T> conflictClause)
SqmInsertSelectStatement<T>
SqmInsertSelectStatement. onConflict(JpaConflictClause<T> conflictClause)
SqmInsertValuesStatement<T>
SqmInsertValuesStatement. onConflict(JpaConflictClause<T> conflictClause)
-