方法一:ResultSet转换为List的方法private static List convertList(ResultSet rs) throws SQLException {List list = new ArrayList();ResultSetMetaData md = rs.getMetaData();int columnCount = md.getColumnCount(); //Map rowData;while (rs.next()) { //rowData = new HashMap(columnCount);Map rowData = new HashMap();for Read More
posted @ 2012-10-09 20:00
tangrongyue
Views(20503)
Comments(0)
Diggs(1)
http://wenku.baidu.com/view/52c1a1523c1ec5da50e270d5.html Read More
posted @ 2012-10-09 16:07
tangrongyue
Views(214)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号