Project

General

Profile

Revision 85b0276d

ID85b0276d8821c39d875efac1fa62c8375fe10dd2
Parent b09da64b
Child a4ea6502

Added by Katja Luther almost 2 years ago

fix #7249: deleteTypeDesignation needs to be transactional

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/NameServiceImpl.java
194 194
    }
195 195

  
196 196
    @Override
197
    @Transactional(readOnly = false)
197 198
    public DeleteResult deleteTypeDesignation(TaxonName name, TypeDesignationBase typeDesignation){
198 199
    	if(typeDesignation!=null && typeDesignation.getId()!=0){
199 200
    		typeDesignation = HibernateProxyHelper.deproxy(referencedEntityDao.load(typeDesignation.getUuid()), TypeDesignationBase.class);
......
396 397
        return typeDesignationDao.getAllTypeDesignations(limit, start);
397 398
    }
398 399

  
400
    @Override
399 401
    public TypeDesignationBase loadTypeDesignation(int id, List<String> propertyPaths){
400 402
        return typeDesignationDao.load(id, propertyPaths);
401 403
    }
402 404

  
405
    @Override
403 406
    public TypeDesignationBase loadTypeDesignation(UUID uuid, List<String> propertyPaths){
404 407
        return typeDesignationDao.load(uuid, propertyPaths);
405 408
    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)