Further batch and preparedStatement SQL implementation