ResultSet基本使用
1.直接使用get方法获取对应的类型的数据,当然需要结合while(resultset.next())ResultSet rs = ps.executeQuery(); if(rs.next()){ employee=new Employee(rs.getLong(1),rs.getString(2),rs.getString(3),rs.getInt(4)); }2.使用getMetaData()方法,得到表结构,包









