public void delete(Branch b) throws SQLException { save("delete from tbl_library_branch where branchId = ?", new Object[] {b.getBranchId()}); }
public void update(Branch b) throws SQLException { save( "update tbl_library_branch set branchName = ?,branchAddress=? where branchId = ?", new Object[] {b.getBranchName(), b.getBranchAddress(), b.getBranchId()}); }