Fix Iteration count and jdbc style