ProductIbatisDao extends SqlMapClientDaoSupport implements ProductDao { @Override public void update(Product product) { getSqlMapClientTemplate().update("Product.updateProduct", product); }  @SuppressWarnings("unchecked") @Override List<Product> findAll(); @Override void delete(int id); @Override Product findProduct(String name); @Override Product findProductByID(int id); @SuppressWarnings("unchecked") @Override List<Product> findProductByTeamID(int teamId); @Override int create(Product product); @Override void update(Product product);  }
@Test public void testUpdate() { Product product = new Product(); product.setId(id); product.setName("teamx"); product.setProductLeaderId(2); product.setTeamId(1); productDao.update(product); }