Description of batch updates

The batch update facility allows a Statement object to submit a set of heterogeneous update commands together as a single unit, or batch, to the underlying DBMS. In the example below all of the update operations required to insert a new employee into a fictitious company database are submitted as a single batch. // turn off autocommit con.setAutoCommit(false); Statement stmt …

Description of batch updates Read More »