Specifying the Bulk Load Operation
- Last Updated: May 18, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
The Salesforce driver supports Insert, Update, Delete and Upsert bulk load
operations. You can specify which type of bulk load operation will be performed when a load
method is called by setting the operation property using the setProperties() method of the
DDBulkLoad interface. The operation property accepts the following values: insert, update, delete and upsert. The default value
is insert.
The following example changes the type of bulk load operation to update:
DDBulkLoad bulkLoad =
com.ddtek.jdbc.extensions.DDBulkLoadFactory.getInstance(connection);
Properties props = new Properties();
props.put("operation", "update");
bulkLoad.setProperties(props);
Refer to JDBC extensions in the Progress DataDirect for JDBC Drivers Reference for more information about bulk load methods.