Project

General

Profile

« Previous | Next » 

Revision 24a20020

Added by Andreas Müller over 13 years ago

remove special characters in Term updater

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/update/v30_31/TermUpdater_31_311.java
90 90
//		stepName = "Add 'unranked' rank to ranks";
91 91
//		list.add( SingleTermUpdater.NewInstance(stepName, uuidTerm, description, label, abbrev, dtype, uuidVocabulary, uuidLang, isOrdered, uuidAfterTerm));
92 92

  
93
		String sql = "UPDATE Representation SET text = '`Unranked? Infrageneric Rank: The infrageneric name on purpose has no rank', label = 'Unranked (infrageneric)', abbreviatedlabel = '[infragen.]'" +
93
		String sql = "UPDATE Representation SET text = 'Unranked Infrageneric Rank: The infrageneric name on purpose has no rank', label = 'Unranked (infrageneric)', abbreviatedlabel = '[infragen.]'" +
94 94
		" WHERE abbreviatedlabel = 't.infgen.'";
95 95
		stepName = "Update unranked infrageneric representation";
96 96
		SimpleSchemaUpdaterStep infraGenStep = SimpleSchemaUpdaterStep.NewInstance(stepName, sql);
......
104 104

  
105 105
		
106 106
		
107
		sql = "UPDATE Representation SET text = '`Unranked? Infraspecific Rank: The infraspecific name on purpose has no rank', label = 'Unranked (infraspecific)', abbreviatedlabel = '[infraspec.]' " +
107
		sql = "UPDATE Representation SET text = 'Unranked Infraspecific Rank: The infraspecific name on purpose has no rank', label = 'Unranked (infraspecific)', abbreviatedlabel = '[infraspec.]' " +
108 108
		" WHERE abbreviatedlabel = 't.infr.'";
109 109
		stepName = "Update unranked infraspecific representation";
110 110
		SimpleSchemaUpdaterStep infraSpecStep = SimpleSchemaUpdaterStep.NewInstance(stepName, sql);

Also available in: Unified diff