- All Known Subinterfaces:
- MergeColumnsStep<R>,- MergeKeyStepN<R>,- MergeUsingStep<R>
Deprecated, for removal: This API element is subject to removal in a future version.
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 SummaryModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Use aSELECTstatement as the source of values for theMERGEstatementDeprecated, for removal: This API element is subject to removal in a future version.Specify aVALUESclausevalues(Collection<?> values) Deprecated, for removal: This API element is subject to removal in a future version.Specify aVALUESclauseDeprecated, for removal: This API element is subject to removal in a future version.Specify aVALUESclause
- 
Method Details- 
values@NotNull @CheckReturnValue @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DATABRICKS,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Merge<R> values(Object... values) Deprecated, for removal: This API element is subject to removal in a future version.Specify aVALUESclause
- 
values@NotNull @CheckReturnValue @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DATABRICKS,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Merge<R> values(Field<?>... values) Deprecated, for removal: This API element is subject to removal in a future version.Specify aVALUESclause
- 
values@NotNull @CheckReturnValue @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DATABRICKS,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Merge<R> values(Collection<?> values) Deprecated, for removal: This API element is subject to removal in a future version.Specify aVALUESclause
- 
select@NotNull @CheckReturnValue @Support({CUBRID,DATABRICKS,DB2,EXASOL,FIREBIRD_3_0,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES_15,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA}) @NotNull Merge<R> select(Select<?> select) Deprecated, for removal: This API element is subject to removal in a future version.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...)orDSLContext.mergeInto(Table, Collection)
 
- 
DSLContext.mergeInto(Table)