protected final boolean executeBatch(List<String> batchStringList) throws SQLException {
  boolean completedOK=false;
  final Statement modelGroupUpdateStatement=createStatement();
  for (  String batchItem : batchStringList) {
    modelGroupUpdateStatement.addBatch(batchItem);
  }
  modelGroupUpdateStatement.executeBatch();
  completedOK=true;
  modelGroupUpdateStatement.close();
  return completedOK;
}

protected final boolean executeBatch ( List < String > batchStringList ) throws SQLException { boolean completedOK = false ; final Statement modelGroupUpdateStatement = createStatement ( ) ; for ( String batchItem : batchStringList ) { modelGroupUpdateStatement . addBatch ( batchItem ) ; } modelGroupUpdateStatement . executeBatch ( ) ; completedOK = true ; modelGroupUpdateStatement . close ( ) ; return completedOK ; }
executes each entry in the list as a batch element
