Batch Update

Queries are inserted in batch of 1000 to improve performance. addBatch
method of prepared statement used.