@Test public void testDelete() { Environment environment = environmentDao.findEnvByID(env1Id); assertNotNull(environment); environmentDao.delete(env1Id); environment = environmentDao.findEnvByID(env1Id); assertNull(environment); }
@Override public void delete(int id) { getSqlMapClientTemplate().delete("Environment.deleteEnv", id); }
EnvironmentIbatisDao extends SqlMapClientDaoSupport implements EnvironmentDao { @Override public void delete(int id) { getSqlMapClientTemplate().delete("Environment.deleteEnv", id); } }
EnvironmentIbatisDao extends SqlMapClientDaoSupport implements EnvironmentDao { @Override public void delete(int id) { getSqlMapClientTemplate().delete("Environment.deleteEnv", id); }  }
EnvironmentIbatisDao extends SqlMapClientDaoSupport implements EnvironmentDao { @Override public void delete(int id) { getSqlMapClientTemplate().delete("Environment.deleteEnv", id); }  @SuppressWarnings("unchecked") @Override List<Environment> findAll(); @Override void delete(int id); @Override int create(Environment env); @Override void update(Environment env); @Override Environment findEnvByID(int id); @Override Environment findPrevEnv(int envId); @Override Environment findEnvByName(String name); }
EnvironmentIbatisDao extends SqlMapClientDaoSupport implements EnvironmentDao { @Override public void delete(int id) { getSqlMapClientTemplate().delete("Environment.deleteEnv", id); }  @SuppressWarnings("unchecked") @Override List<Environment> findAll(); @Override void delete(int id); @Override int create(Environment env); @Override void update(Environment env); @Override Environment findEnvByID(int id); @Override Environment findPrevEnv(int envId); @Override Environment findEnvByName(String name);  }