Package com.sap.cds.jdbc.h2
Class H2StatementResolver
java.lang.Object
com.sap.cds.jdbc.generic.GenericStatementResolver
com.sap.cds.jdbc.h2.H2StatementResolver
- All Implemented Interfaces:
StatementResolver
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sap.cds.jdbc.generic.GenericStatementResolver
applyTransformationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cds.jdbc.spi.StatementResolver
collate, collate, deleteAll, hints, lockClause, lockMode, preOptimize, statementWideCollation, supportsStatementWideCollation
-
Constructor Details
-
H2StatementResolver
public H2StatementResolver()
-
-
Method Details
-
upsert
public String upsert(String table, Stream<String> keyColumns, Stream<String> upsertColumns, Stream<String> upsertValues) H2: MERGE INTO Updates existing rows, and insert rows that don't exist. If no key column is specified, the primary key columns are used to find the row. If more than one row per new row is affected, an exception is thrown. https://www.h2database.com/html/commands.html#merge_into -
timeoutClause
-