private void updateOnes(Statement stmt,String[] ones_updated,short[] twos) throws SQLException {
  for (int i=0; i < ones_updated.length; i++) {
    stmt.execute("UPDATE tbl1 SET one = '" + ones_updated[i] + "' WHERE two = "+ twos[i]);
  }
}

private void updateOnes ( Statement stmt , String [ ] ones_updated , short [ ] twos ) throws SQLException { for ( int i = 0 ; i < ones_updated . length ; i ++ ) { stmt . execute ( "UPDATE tbl1 SET one = '" + ones_updated [ i ] + "' WHERE two = " + twos [ i ] ) ; } }
updates the values in column ' one '
