Class PostgreSqlUpsert

java.lang.Object
com.northconcepts.datapipeline.jdbc.upsert.PostgreSqlUpsert
All Implemented Interfaces:
IUpsert, Cloneable

public class PostgreSqlUpsert extends Object implements IUpsert

A batch-able upsert strategy that relies on the SQL Merge statement.

Sample Generated SQL:
INSERT INTO tableName (col1, col2, col3) VALUES (?, ?, ?)
ON CONFLICT (ID) DO UPDATE SET col1=?, col2=?, col3=?