Use JDBC batch execution to speed up insert

I noticed a ~2x increase in speed.