Java / JDBC
Explain JDBC batch processing and its benefits.
JDBC API provides Batch Processing feature through which we can execute bulk of queries in one go for a database.
JDBC API supports batch processing through Statement and PreparedStatement addBatch() and executeBatch() methods.
Batch Processing is faster than executing one statement at a time as the number of database calls are less.
More Related questions...