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

@Incubating public interface JpaCriteriaInsert<T> extends JpaManipulationCriteria<T>
The commonalities between insert-select and insert-values.
Since:
6.5
  • Method Details

    • getInsertionTargetPaths

      List<? extends JpaPath<?>> getInsertionTargetPaths()
      Returns the insertion target paths.
    • setInsertionTargetPaths

      JpaCriteriaInsert<T> setInsertionTargetPaths(Path<?>... insertionTargetPaths)
      Sets the insertion target paths.
    • setInsertionTargetPaths

      JpaCriteriaInsert<T> setInsertionTargetPaths(List<? extends Path<?>> insertionTargetPaths)
      Sets the insertion target paths.
    • onConflict

      JpaConflictClause<T> onConflict()
      Sets the conflict clause that defines what happens when an insert violates a unique constraint.
    • onConflict

      JpaCriteriaInsert<T> onConflict(@Nullable JpaConflictClause<T> conflictClause)
      Sets the conflict clause that defines what happens when an insert violates a unique constraint.
    • getConflictClause

      @Nullable JpaConflictClause<T> getConflictClause()
      Returns the conflict clause that defines what happens when an insert violates a unique constraint, or null if there is none.
    • createConflictClause

      JpaConflictClause<T> createConflictClause()
      Create a new conflict clause for this insert statement.
      Returns:
      a new conflict clause
      See Also: