摘要:
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 阅读全文