Project

General

Profile

« Previous | Next » 

Revision a22369e9

Added by Katja Luther almost 10 years ago

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/TaxonDaoHibernateImpl.java
985 985
        // as that solution only swallows and hides the exception, but doesn't
986 986
        // actually solve it.
987 987
        getSession().merge(taxonBase);
988

  
988
        
989
        taxonBase.removeSources();
990
        
989 991
        if (taxonBase instanceof Taxon){ //	is Taxon
990 992
            for (Iterator<TaxonRelationship> iterator = ((Taxon)taxonBase).getRelationsFromThisTaxon().iterator(); iterator.hasNext();){
991 993
                TaxonRelationship relationFromThisTaxon = iterator.next();

Also available in: Unified diff