The new batch update facility provides the ability to send multiple updates to the database to be executed as a batch rather than sending each update separately. The following interfaces add methods that support batch updates, and the exception BatchUpdateException is new.
• Statement, PreparedStatement, and CallableStatement
• methods for adding update statements to a batch, clearing all update statements, and executing a batch
• DatabaseMetaData
• method indicating whether the DBMS and driver support batch updates
• BatchUpdateException
• exception thrown when an error occurs in a batch update
Monday, January 19, 2009
A.3.2 Batch Updates
Posted by abhilash at 5:16 AM
Labels: Java, Java DataBase Conectivity.
Subscribe to:
Post Comments (Atom)
0 Comments:
Post a Comment