private Vector getNextRow(ResultSet rs, ResultSetMetaData rsmd)throws SQLException 
{
Vector currentRow = new Vector();
for (int i = 1; i <= rsmd.getColumnCount(); ++i)
{
currentRow.addElement(rs.getString(i));
}
// 返回一条记录
return currentRow;
}
少了一段