- All Known Subinterfaces:
MergeKeyStep1<R,
T1>
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:
using(configuration)
.mergeInto(table, field1)
.key(id)
.values(field1)
.execute();
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)
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, viaDSLContext.mergeInto(Table)
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, viaDSLContext.mergeInto(Table)
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, viaDSLContext.mergeInto(Table)
-
Method Details
-
values
@Deprecated(forRemoval=true, since="3.14") @NotNull @CheckReturnValue @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Merge<R> values(T1 value1) 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, viaDSLContext.mergeInto(Table)
Specify aVALUES
clause. -
values
@Deprecated(forRemoval=true, since="3.14") @NotNull @CheckReturnValue @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Merge<R> values(Field<T1> value1) 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, viaDSLContext.mergeInto(Table)
Specify aVALUES
clause. -
values
@Deprecated(forRemoval=true, since="3.14") @NotNull @CheckReturnValue @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)
Specify aVALUES
clause. -
select
@Deprecated(forRemoval=true, since="3.14") @NotNull @CheckReturnValue @Support({CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,ORACLE,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA}) @NotNull Merge<R> select(Select<? extends Record1<T1>> 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, viaDSLContext.mergeInto(Table)
Use aSELECT
statement as the source of values for theMERGE
statementThis variant of the
MERGE … SELECT
statement expects a select returning exactly as many fields as specified previously in theINTO
clause:DSLContext.mergeInto(Table, Field)
.
-
DSLContext.mergeInto(Table)