How to create a batch update in JDBC?
A batch statement can be use to execute multiple update commands as single unit in a database manipulation. This statement in the database is not executed one by one but as a single execution instead. In some cases using a batch update can be more efficient than to execute the commands separately.
In this example you are shown how to create a batch command to insert some product data into database.