class DatabaseSetService {

    public int updateDatabaseSet(DatabaseSet dbset) throws SQLException {
        if (dbset.getStrategyType() == StrategyTypeEnum.NoStrategy.getType()) {
            dbset.setClassName(StringUtils.EMPTY);
            dbset.setStrategySource(StringUtils.EMPTY);
        }
        return databaseSetDao.updateDatabaseSet(dbset);
    }

}