Module org.jooq
Package org.jooq

Interface MergeValuesStepN<R extends Record>

All Known Subinterfaces:
MergeColumnsStep<R>, MergeKeyStepN<R>, MergeUsingStep<R>

@Deprecated(forRemoval=true, since="3.14") public interface MergeValuesStepN<R extends Record>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via DSLContext.mergeInto(Table)
This type is used for the H2-specific variant of the Merge's DSL API.

Example:


 DSLContext create = DSL.using(configuration);

 create.mergeInto(table, field1, field2)
       .key(id)
       .values(value1, value2)
       .execute();
 
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Merge<R>
    select(Select<?> select)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use a SELECT statement as the source of values for the MERGE statement
    @NotNull Merge<R>
    values(Object... values)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Specify a VALUES clause
    @NotNull Merge<R>
    values(Collection<?> values)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Specify a VALUES clause
    @NotNull Merge<R>
    values(Field<?>... values)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Specify a VALUES clause