Perform batch updates

The batch update feature is similar to multiple HCL OneDB™ SQL PREPARE statements. You can issue batch update statements as in the following example:
PREPARE stmt FROM "insert into tab values (1); 
   insert into tab values (2);
   update table tab set col = 3 where col = 2";
The batch update feature in HCL OneDB JDBC Driver follows the JDBC 3.0 specification, with these exceptions:
  • SQL statements
  • Return value from Statement.executeBatch()