-
- All Superinterfaces:
MergeValuesStep2<R,T1,T2>
@Deprecated public interface MergeKeyStep2<R extends Record,T1,T2> extends MergeValuesStep2<R,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:
DSLContext create = DSL.using(configuration); create.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 MergeValuesStep2<R,T1,T2>
key(Collection<? extends Field<?>> keys)
Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)
@NotNull MergeValuesStep2<R,T1,T2>
key(Field<?>... keys)
Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)
-
Methods inherited from interface org.jooq.MergeValuesStep2
select, values, values, values
-
-
-
-
Method Detail
-
key
@Deprecated @NotNull @Support({AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA,VERTICA}) @NotNull MergeValuesStep2<R,T1,T2> key(Field<?>... keys)
Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)
Specify an optionalKEY
clause.Use this optional clause in order to override using the underlying
PRIMARY KEY
.
-
key
@Deprecated @NotNull @Support({AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA,VERTICA}) @NotNull MergeValuesStep2<R,T1,T2> key(Collection<? extends Field<?>> keys)
Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)
Specify an optionalKEY
clause.Use this optional clause in order to override using the underlying
PRIMARY KEY
.
-
-