adspace


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

Answer Posted / Rahul Thapa

JDBC Batch Processing allows multiple SQL statements to be grouped together and executed as a single batch. Advantages include:
1. Improved performance - especially for long-running transactions.
2. Reduced network traffic - because only the actual data needs to be sent, not each individual SQL statement.
3. Better resource management - since the database can optimize its own operations when handling multiple statements at once.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we return resultset in java?

1000