(Batch update) Write aprogram that inserts a thousand records to a database, and comparethe performance with and without batch updates, as shown in Figure35.5a. Suppose the table is defined as follows:
create table Temp(num1 double, num2double, num3 double)
Use theMath.random() method to generate random numbersfor each record.
use nanoTime to analize theperfomance of each one of them, batch update and non batchupdate.

PayPal Gateway not configured
PayPal Gateway not configured