摘要:
DbUtils的官方下载地址:http://commons.apache.org/dbutils/一、使用Jdbc连接的方式 public String execute() throws Exception { Connection conn = null; try { conn = getConn(); QueryRunner qr = new QueryRunner(); String sql = "update table1 set field1='abc'"; qr.update(conn, sql); } catch (SQLException e 阅读全文
posted @ 2010-10-12 10:42
魔豆
阅读(1145)
评论(0)
推荐(0)

浙公网安备 33010602011771号