Use the setTableName() method to specify the table to load the data. Then, use the load() method, specifying the ResultSet object. For example, to load data from a ResultSet object named rs into a table named GBMAXTABLE, you would specify:
Use the BulkLoadBatchSize property to specify the number of rows the driver loads at a time when bulk loading data. Performance can be improved by increasing the number of rows the driver loads at a time because fewer network round trips are required. Be aware that increasing the number of rows that are loaded also causes the driver to consume more memory on the client. Refer to
JDBC Extensions in the
DataDirect Connect Series for JDBC Reference for more information about bulk load methods.