Project

General

Profile

Revision b04bb775

IDb04bb7755d1331fcce1d0693f23d063b2d8ad7f0
Parent a88578ce
Child a5a14935

Added by Katja Luther over 1 year ago

revert additional load of taxa in set secundum

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/TaxonNodeDaoHibernateImpl.java
44 44
import eu.etaxonomy.cdm.persistence.dao.taxon.IClassificationDao;
45 45
import eu.etaxonomy.cdm.persistence.dao.taxon.ITaxonDao;
46 46
import eu.etaxonomy.cdm.persistence.dao.taxon.ITaxonNodeDao;
47
import eu.etaxonomy.cdm.persistence.dto.MergeResult;
48 47
import eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto;
49 48
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;
50 49

  
......
513 512
        Query query = getSession().createQuery(queryStr);
514 513
        @SuppressWarnings("unchecked")
515 514
        List<T> synonymList = query.list();
516
        MergeResult mergeResult;
517 515
        Set<T> result = new HashSet<>();
518 516
        for (T taxonBase : synonymList){
519 517
            if (taxonBase != null){
520
                taxonBase = (T) taxonDao.load(taxonBase.getUuid());
521 518
                taxonBase.setSec(newSec);
522 519
                if (emptyDetail){
523 520
                    taxonBase.setSecMicroReference(null);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)