@Test public void insertDatabaseSet() throws Exception { Long id = databaseSetDao.insertDatabaseSet(databaseset); System.out.println("insertDatabaseSet :-------> " + id); Assert.assertTrue(id > 0); }
public Long insertDatabaseSet(DatabaseSet dbset) throws SQLException { if (null == dbset) { return 0L; } this.getDasClient().insert(dbset, Hints.hints().setIdBack()); return dbset.getId(); }
DatabaseSetDao extends BaseDao { public Long insertDatabaseSet(DatabaseSet dbset) throws SQLException { if (null == dbset) { return 0L; } this.getDasClient().insert(dbset, Hints.hints().setIdBack()); return dbset.getId(); } }
DatabaseSetDao extends BaseDao { public Long insertDatabaseSet(DatabaseSet dbset) throws SQLException { if (null == dbset) { return 0L; } this.getDasClient().insert(dbset, Hints.hints().setIdBack()); return dbset.getId(); }  }
DatabaseSetDao extends BaseDao { public Long insertDatabaseSet(DatabaseSet dbset) throws SQLException { if (null == dbset) { return 0L; } this.getDasClient().insert(dbset, Hints.hints().setIdBack()); return dbset.getId(); }  Long insertDatabaseSet(DatabaseSet dbset); int updateDatabaseSet(DatabaseSet dbset); int deleteDatabaseSetById(Long dbsetId); int deleteDatabaseSetEntryByDbsetId(Long dbsetId); DatabaseSet getDatabaseSetById(Long id); DatabaseSet getDatabaseSetByName(String name); List<DatabaseSet> getAllDatabaseSetByName(String name); List<DatabaseSet> getAllDatabaseSetByNames(List<String> names); List<DatabaseSet> getAllDatabaseSetById(Long id); List<DatabaseSetView> getAllDatabaseSetByProjectId(Long projectId); List<DatabaseSet> getAllDatabaseSetByGroupId(Long groupId); DatabaseSetEntry getMasterDatabaseSetEntryByDatabaseSetId(Long dbset_id); Long getDbSetTotalCount(Paging<DatabaseSet> paging); List<DatabaseSetView> findDbSetPageList(Paging<DatabaseSet> paging); Long getDbSetTotalCountByAppid(Paging<DatabaseSet> paging); List<DatabaseSetView> findDbSetPageListByAppid(Paging<DatabaseSet> paging); }
DatabaseSetDao extends BaseDao { public Long insertDatabaseSet(DatabaseSet dbset) throws SQLException { if (null == dbset) { return 0L; } this.getDasClient().insert(dbset, Hints.hints().setIdBack()); return dbset.getId(); }  Long insertDatabaseSet(DatabaseSet dbset); int updateDatabaseSet(DatabaseSet dbset); int deleteDatabaseSetById(Long dbsetId); int deleteDatabaseSetEntryByDbsetId(Long dbsetId); DatabaseSet getDatabaseSetById(Long id); DatabaseSet getDatabaseSetByName(String name); List<DatabaseSet> getAllDatabaseSetByName(String name); List<DatabaseSet> getAllDatabaseSetByNames(List<String> names); List<DatabaseSet> getAllDatabaseSetById(Long id); List<DatabaseSetView> getAllDatabaseSetByProjectId(Long projectId); List<DatabaseSet> getAllDatabaseSetByGroupId(Long groupId); DatabaseSetEntry getMasterDatabaseSetEntryByDatabaseSetId(Long dbset_id); Long getDbSetTotalCount(Paging<DatabaseSet> paging); List<DatabaseSetView> findDbSetPageList(Paging<DatabaseSet> paging); Long getDbSetTotalCountByAppid(Paging<DatabaseSet> paging); List<DatabaseSetView> findDbSetPageListByAppid(Paging<DatabaseSet> paging);  }