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

 

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

posted on 2013-06-10 22:41  ' 华丽の转身 &、  阅读(122)  评论(0编辑  收藏  举报