Module org.jooq
Package org.jooq

Interface MergeValuesStep2<R extends Record,​T1,​T2>

All Known Subinterfaces:
MergeKeyStep2<R,​T1,​T2>

@Deprecated(forRemoval=true, since="3.14") public interface MergeValuesStep2<R extends Record,​T1,​T2>
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:

 using(configuration)
       .mergeInto(table, field1, field2)
       .key(id)
       .values(field1, field2)
       .execute();
 
Author:
Lukas Eder
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Merge<R>
    select​(Select<? extends Record2<T1,​T2>> select)
    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)
    @NotNull Merge<R>
    values​(Collection<?> values)
    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)
    @NotNull Merge<R>
    values​(Field<T1> value1, Field<T2> value2)
    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)
    @NotNull Merge<R>
    values​(T1 value1, T2 value2)
    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)