@Test public void testCreateConfigSnapshotSet() { int setId = configReleaseDao.createConfigSnapshotSet(buildConfigSnapshotSet(Project_Foo_Id, Env1_Id, Task_1)); assertTrue(setId > 0); }
@Override public int createConfigSnapshotSet(ConfigSnapshotSet snapshot) { return (Integer) getSqlMapClientTemplate().insert("ConfigRelease.insertSnapshotSet", snapshot); }
ConfigReleaseIbatisDao extends SqlMapClientDaoSupport implements ConfigReleaseDao { @Override public int createConfigSnapshotSet(ConfigSnapshotSet snapshot) { return (Integer) getSqlMapClientTemplate().insert("ConfigRelease.insertSnapshotSet", snapshot); } }
ConfigReleaseIbatisDao extends SqlMapClientDaoSupport implements ConfigReleaseDao { @Override public int createConfigSnapshotSet(ConfigSnapshotSet snapshot) { return (Integer) getSqlMapClientTemplate().insert("ConfigRelease.insertSnapshotSet", snapshot); }  }
ConfigReleaseIbatisDao extends SqlMapClientDaoSupport implements ConfigReleaseDao { @Override public int createConfigSnapshotSet(ConfigSnapshotSet snapshot) { return (Integer) getSqlMapClientTemplate().insert("ConfigRelease.insertSnapshotSet", snapshot); }  @Override int createSetTask(ConfigSetTask task); @SuppressWarnings("unchecked") @Override List<ConfigSetTask> getSetTask(int projectId, int envId, String[] features, String[] keys); @Override int createConfigSnapshotSet(ConfigSnapshotSet snapshot); @Override void createConfigSnapshots(List<ConfigSnapshot> configSnapshots); @Override void createConfigInstSnapshots(List<ConfigInstanceSnapshot> configInstSnapshots); @Override ConfigSnapshotSet findSnapshotSetToRollback(int projectId, int envId, String task); @SuppressWarnings("unchecked") @Override List<ConfigSnapshot> findConfigSnapshots(int snapshotSetId); @SuppressWarnings("unchecked") @Override List<ConfigInstanceSnapshot> findConfigInstSnapshots(int snapshotSetId); }
ConfigReleaseIbatisDao extends SqlMapClientDaoSupport implements ConfigReleaseDao { @Override public int createConfigSnapshotSet(ConfigSnapshotSet snapshot) { return (Integer) getSqlMapClientTemplate().insert("ConfigRelease.insertSnapshotSet", snapshot); }  @Override int createSetTask(ConfigSetTask task); @SuppressWarnings("unchecked") @Override List<ConfigSetTask> getSetTask(int projectId, int envId, String[] features, String[] keys); @Override int createConfigSnapshotSet(ConfigSnapshotSet snapshot); @Override void createConfigSnapshots(List<ConfigSnapshot> configSnapshots); @Override void createConfigInstSnapshots(List<ConfigInstanceSnapshot> configInstSnapshots); @Override ConfigSnapshotSet findSnapshotSetToRollback(int projectId, int envId, String task); @SuppressWarnings("unchecked") @Override List<ConfigSnapshot> findConfigSnapshots(int snapshotSetId); @SuppressWarnings("unchecked") @Override List<ConfigInstanceSnapshot> findConfigInstSnapshots(int snapshotSetId);  }