jdbc链接必定要关闭connection, resultset和preparedstatement

今天写了个程序往数据库插入100万条记录,代码以下java public static void insertRecords() throws Exception { Connection conn = null; try { conn = DBUtil.getConnection(); conn.setAutoCom
相关文章
相关标签/搜索