/** *************************************************************************************** */ public LibBranch ListOneBranche(int branchId) throws Exception { ConnectionUtil c = new ConnectionUtil(); Connection conn = c.createConnection(); try { LibBranchDAO lib = new LibBranchDAO(conn); LibBranch branch = lib.readOne(branchId); return branch; } catch (Exception e) { // TODO: handle exception e.printStackTrace(); return null; } finally { conn.close(); } }