shit,finally又忘了

 try {
     con=dbUtil.getCon();
     int deleteReturnNum=bookTypeDao.deteleBookType(con, id);
    } catch (Exception e) {
     e.printStackTrace();
    }finally{
     dbUtil.closeCon(con);
    }

唉,无奈了,这么重要,竟然总忘记finally关资源、、

原文地址:https://www.cnblogs.com/hualidezhuanshen/p/3131340.html