TeamIbatisDao extends SqlMapClientDaoSupport implements TeamDao { @Override public void update(Team team) { getSqlMapClientTemplate().update("Team.updateTeam", team); }  @SuppressWarnings("unchecked") @Override List<Team> findAll(); @Override Team findTeam(String name); @Override void delete(int id); @Override Team findTeamByID(int id); @Override int create(Team team); @Override void update(Team team);  }
@Test public void testUpdate() { Team team = new Team(); team.setName("teamx"); team.setCreateTime(new Date(System.currentTimeMillis())); team.setModifyTime(new Date(System.currentTimeMillis())); teamDao.update(team); }