public static int executeUpdateMultiple(String sql,boolean ignoreError,String trxName){
  if (sql == null || sql.length() == 0)   throw new IllegalArgumentException("Required parameter missing - " + sql);
  int index=sql.indexOf(SQLSTATEMENT_SEPARATOR);
  if (index == -1)   return executeUpdate(sql,null,ignoreError,trxName);
  int no=0;
  String statements[]=sql.split(SQLSTATEMENT_SEPARATOR);
  for (int i=0; i < statements.length; i++) {
    log.fine(statements[i]);
    no+=executeUpdate(statements[i],null,ignoreError,trxName);
  }
  return no;
}

public static int executeUpdateMultiple ( String sql , boolean ignoreError , String trxName ) { if ( sql == null || sql . length ( ) == 0 ) throw new IllegalArgumentException ( "Required parameter missing - " + sql ) ; int index = sql . indexOf ( SQLSTATEMENT_SEPARATOR ) ; if ( index == - 1 ) return executeUpdate ( sql , null , ignoreError , trxName ) ; int no = 0 ; String statements [ ] = sql . split ( SQLSTATEMENT_SEPARATOR ) ; for ( int i = 0 ; i < statements . length ; i ++ ) { log . fine ( statements [ i ] ) ; no += executeUpdate ( statements [ i ] , null , ignoreError , trxName ) ; } return no ; }
execute multiple update statements . saves ( last ) " dbexecuteerror " in log
