-
- All Known Subinterfaces:
MergeKeyStep2<R,T1,T2>
@Deprecated public interface MergeValuesStep2<R extends Record,T1,T2>
Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)This type is used for the H2-specific variant of theMerge's DSL API.Example:
using(configuration) .mergeInto(table, field1, field2) .key(id) .values(field1, field2) .execute();- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @NotNull Merge<R>select(Select<? extends Record2<T1,T2>> select)Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)@NotNull Merge<R>values(Collection<?> values)Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)@NotNull Merge<R>values(Field<T1> value1, Field<T2> value2)Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)@NotNull Merge<R>values(T1 value1, T2 value2)Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)
-
-
-
Method Detail
-
values
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA,VERTICA}) @NotNull Merge<R> values(T1 value1, T2 value2)
Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)Specify aVALUESclause.
-
values
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA,VERTICA}) @NotNull Merge<R> values(Field<T1> value1, Field<T2> value2)
Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)Specify aVALUESclause.
-
values
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA,VERTICA}) @NotNull Merge<R> values(Collection<?> values)
Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)Specify aVALUESclause.
-
select
@Deprecated @NotNull @Support({CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,ORACLE,SQLSERVER,SYBASE,TERADATA,VERTICA}) @NotNull Merge<R> select(Select<? extends Record2<T1,T2>> select)
Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)Use aSELECTstatement as the source of values for theMERGEstatementThis variant of the
MERGE .. SELECTstatement expects a select returning exactly as many fields as specified previously in theINTOclause:DSLContext.mergeInto(Table, Field, Field).
-
-