Using jdbc batch processing for data insertion