摘要: jdbc的编程: * 获取链接 * Class.forName("com.mysql.jdbc.Driver"); Connection conn = DriverManager.getConnection(url,username,password); Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeUpdate(sql)/executeQuery(sql); List persoList = new ArrayList(); while(rs.next(... 阅读全文
posted @ 2014-01-20 13:20 VIJAY-YAN 阅读(212) 评论(0) 推荐(0) 编辑