public IItem getBatchTask(int nIdBatchTask) throws ISPACException { DbCnt cnt = null; try { cnt = mcontext.getConnection(); IItem ret = WLBatchTaskDAO.getBatchTask(cnt, nIdBatchTask); return ret; } catch (Exception e) { // TODO: handle exception } finally { mcontext.releaseConnection(cnt); } // TODO Auto-generated method stub return null; }