Vector vector = new Vector();
rs = con.execultUpdate(sql);
while (rs.hasmoreElements)
 {
   vector.add(rs.next());
 }return vector;
一般都是这样。