Project

General

Profile

Revision 6c143263

ID6c14326308712e6afd37d3fb41d5d68d10ed50a9
Parent 86f7ea85
Child cc6c7d5e

Added by Andreas Müller 11 months ago

ref #8780 fix autowire issue for repository (workaround)

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/util/SortIndexUpdaterWrapper.java
25 25
import org.springframework.transaction.TransactionStatus;
26 26
import org.springframework.transaction.support.DefaultTransactionDefinition;
27 27

  
28
import eu.etaxonomy.cdm.api.application.CdmRepository;
28
import eu.etaxonomy.cdm.api.service.ITaxonService;
29 29
import eu.etaxonomy.cdm.api.service.UpdateResult;
30 30
import eu.etaxonomy.cdm.api.service.config.SortIndexUpdaterConfigurator;
31 31
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
......
49 49

  
50 50
    @Autowired
51 51
    private HibernateTransactionManager transactionManager;
52
//    @Autowired
53
//    private CdmRepository repository;  //TODO not unique therefore byName or so is needed
52 54
    @Autowired
53
    private CdmRepository repository;
55
    private ITaxonService repository;
54 56

  
55 57
    public UpdateResult doInvoke(SortIndexUpdaterConfigurator config) {
56 58

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)