private void validateJdbcStatements(List<JdbcStatement> jdbcStatements){
  Assert.notNull(jdbcStatements,"JDBC statements are required");
  Assert.isTrue(!jdbcStatements.isEmpty(),"JDBC statements are required");
  Integer jdbcMaxStatements=configurationHelper.getProperty(ConfigurationValue.JDBC_MAX_STATEMENTS,Integer.class);
  if (jdbcMaxStatements != null) {
    Assert.isTrue(jdbcStatements.size() <= jdbcMaxStatements,"The number of JDBC statements exceeded the maximum allowed " + jdbcMaxStatements + ".");
  }
  for (int i=0; i < jdbcStatements.size(); i++) {
    JdbcStatement jdbcStatement=jdbcStatements.get(i);
    validateJdbcStatement(jdbcStatement,i);
  }
}

private void validateJdbcStatements ( List < JdbcStatement > jdbcStatements ) { Assert . notNull ( jdbcStatements , "JDBC statements are required" ) ; Assert . isTrue ( ! jdbcStatements . isEmpty ( ) , "JDBC statements are required" ) ; Integer jdbcMaxStatements = configurationHelper . getProperty ( ConfigurationValue . JDBC_MAX_STATEMENTS , Integer . class ) ; if ( jdbcMaxStatements != null ) { Assert . isTrue ( jdbcStatements . size ( ) <= jdbcMaxStatements , "The number of JDBC statements exceeded the maximum allowed " + jdbcMaxStatements + "." ) ; } for ( int i = 0 ; i < jdbcStatements . size ( ) ; i ++ ) { JdbcStatement jdbcStatement = jdbcStatements . get ( i ) ; validateJdbcStatement ( jdbcStatement , i ) ; } }
validates parameters specified in the given statements . the statements must not be null , and must not be empty .
