addBatch adds SQL statements to a batch for batch execution.
The addBatch method in JDBC allows you to accumulate SQL statements and execute them all at once. For example, you can prepare 10 insert statements and call addBatch for each, then execute them with executeBatch.