class DatabaseSetService {

    public boolean deleteDatabaseSet(Long dbsetId) throws SQLException {
        boolean isSussess = deleteCheckDao.getDasClient().execute(() -> {
            int ret1 = databaseSetDao.deleteDatabaseSetEntryByDbsetId(dbsetId);
            int ret2 = databaseSetDao.deleteDatabaseSetById(dbsetId);
            if (ret1 < 0 || ret2 < 0) {
                return false;
            }
            return true;
        });
        return isSussess;
    }

}