示例#1
0
 public void delete(Branch b) throws SQLException {
   save("delete from tbl_library_branch where branchId = ?", new Object[] {b.getBranchId()});
 }
示例#2
0
 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()});
 }