Project

General

Profile

« Previous | Next » 

Revision 270e9014

Added by Andreas Müller about 10 years ago

fix encoding issue

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/algaterra/AlgaTerraTypeImport.java
31 31
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelRefDetailImport;
32 32
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelReferenceImport;
33 33
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelTaxonNameImport;
34
import eu.etaxonomy.cdm.io.common.IImportConfigurator.EDITOR;
34 35
import eu.etaxonomy.cdm.io.common.IOValidator;
35 36
import eu.etaxonomy.cdm.io.common.ResultSetPartitioner;
36
import eu.etaxonomy.cdm.io.common.IImportConfigurator.EDITOR;
37 37
import eu.etaxonomy.cdm.model.common.AnnotatableEntity;
38 38
import eu.etaxonomy.cdm.model.common.Annotation;
39 39
import eu.etaxonomy.cdm.model.common.AnnotationType;
40 40
import eu.etaxonomy.cdm.model.common.CdmBase;
41 41
import eu.etaxonomy.cdm.model.common.IdentifiableSource;
42 42
import eu.etaxonomy.cdm.model.common.Language;
43
import eu.etaxonomy.cdm.model.common.OriginalSourceType;
44 43
import eu.etaxonomy.cdm.model.common.User;
45 44
import eu.etaxonomy.cdm.model.name.BotanicalName;
46 45
import eu.etaxonomy.cdm.model.name.Rank;
......
90 89
			" SELECT ts.*, ts.TypeSpecimenId as unitId, td.*, gz.ID as GazetteerId, gz.L2Code, gz.L3Code, gz.L4Code, gz.ISOCountry, gz.Country, ts.WaterBody, " + 
91 90
               " ts.RefFk as tsRefFk, ts.RefDetailFk as tsRefDetailFk, td.RefFk as tdRefFk, td.RefDetailFk as tdRefDetailFk, " +
92 91
               " RefDet.Details as tdRefDetails, " +
93
               " td.created_When tdCreated_When, tsd.created_When tsdCreated_When, td.updated_when tdUpdated_when" +
94
               " td.created_who tdCreated_who, tsd.created_who tdCreated_who, td.updated_who tdUpdated_who,  " +
92
               " td.created_When as tdCreated_When, tsd.created_When as tsdCreated_When, td.updated_when as tdUpdated_when, " +
93
               " td.created_who as tdCreated_who, tsd.created_who as tsdCreated_who, td.updated_who tdUpdated_who  " +
95 94
            " FROM TypeSpecimenDesignation tsd  " 
96 95
            	+ " LEFT OUTER JOIN TypeSpecimen AS ts ON tsd.TypeSpecimenFk = ts.TypeSpecimenId " 
97 96
            	+ " FULL OUTER JOIN TypeDesignation td ON  td.TypeDesignationId = tsd.TypeDesignationFk "
......
150 149
				String tdRefDetails = rs.getString("tdRefDetails");
151 150
				Boolean restrictedFlag = nullSafeBoolean(rs, "RestrictedFlag");
152 151
				
153
				String typeSpecimenPhrase = rs.getString("TypeSpecimnePhrase");
152
				String typeSpecimenPhrase = rs.getString("TypeSpecimenPhrase");
154 153
				
155 154
				
156 155
				
157
				boolean isIcon = typeSpecimenPhrase.toLowerCase().startsWith("[icon");
156
				boolean isIcon = typeSpecimenPhrase.toLowerCase().startsWith("\u005bicon");
158 157
				
159 158
				try {
160 159
					

Also available in: Unified diff