jdbc homework Karsa Peter

Is this code tested? 
you should call addBatch() in every iteration step, and call executeBatch() after the iteration.