Project

General

Profile

Revision 014f48b5

ID014f48b501623bc5918a77692843abe21742230d
Parent 0b2b884d
Child 0ef27bc6

Added by Katja Luther about 7 years ago

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiDescriptionExport.java
27 27

  
28 28
import com.microsoft.sqlserver.jdbc.SQLServerException;
29 29

  
30
import eu.etaxonomy.cdm.common.profiler.ProfilerController;
30
import eu.etaxonomy.cdm.profiler.ProfilerController;
31 31
import eu.etaxonomy.cdm.io.berlinModel.BerlinModelTransformer;
32 32
import eu.etaxonomy.cdm.io.common.DbExportStateBase;
33 33
import eu.etaxonomy.cdm.io.common.Source;
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiExportBase.java
71 71
	protected <CLASS extends TaxonBase> List<CLASS> getNextTaxonPartition(Class<CLASS> clazz, int limit, int partitionCount, List<String> propertyPath) {
72 72
		List<OrderHint> orderHints = new ArrayList<OrderHint>();
73 73
		orderHints.add(new OrderHint("id", OrderHint.SortOrder.ASCENDING ));
74
		
74 75
		List<CLASS> list = (List<CLASS>)getTaxonService().list(clazz, limit, partitionCount * limit, orderHints, propertyPath);
76
		
77
		
78
		
75 79
		if (list.isEmpty()){
76 80
			return null;
77 81
		}
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiTaxonExport.java
35 35

  
36 36
import eu.etaxonomy.cdm.api.service.TaxonServiceImpl;
37 37
import eu.etaxonomy.cdm.common.CdmUtils;
38
import eu.etaxonomy.cdm.common.profiler.ProfilerController;
38
import eu.etaxonomy.cdm.profiler.ProfilerController;
39 39
import eu.etaxonomy.cdm.io.berlinModel.BerlinModelTransformer;
40 40
import eu.etaxonomy.cdm.io.common.Source;
41 41
import eu.etaxonomy.cdm.io.common.mapping.UndefinedTransformerMethodException;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)