class DatabaseSetService {

    public boolean insertDatabaseSet(DatabaseSet dbset) throws SQLException {
        if (dbset.getStrategyType() == StrategyTypeEnum.NoStrategy.getType()) {
            dbset.setClassName(StringUtils.EMPTY);
            dbset.setStrategySource(StringUtils.EMPTY);
        }
        Long id = databaseSetDao.insertDatabaseSet(dbset);
        dbset.setId(id);
        return id > 0;
    }

}