fix reference validation for Berlin Model import
authorAndreas Müller <a.mueller@bgbm.org>
Mon, 14 Oct 2013 21:08:03 +0000 (21:08 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Mon, 14 Oct 2013 21:08:03 +0000 (21:08 +0000)
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/berlinModel/in/validation/BerlinModelReferenceImportValidator.java

index e2b7d189cc3db73f18573c4a7faaf894002b8186..e09b0a0b47ca765b0eb26f658748f1636df36f6c 100644 (file)
@@ -263,7 +263,7 @@ public class BerlinModelReferenceImportValidator implements IOValidator<BerlinMo
                                boolean result = true;\r
                                Source source = config.getSource();\r
                                String strQuery = "SELECT Reference.RefId, InRef.RefId AS InRefID, Reference.RefCategoryFk, InRef.RefCategoryFk AS InRefCatFk, Reference.RefCache, Reference.NomRefCache, Reference.Title, Reference.NomTitleAbbrev as nomTitleAbbrev, RefCategory.RefCategoryAbbrev, InRefCategory.RefCategoryAbbrev AS InRefCat, InRef.Title AS InRefTitle, InRef.nomTitleAbbrev AS inRefnomTitleAbbrev, InRef.refCache AS inRefCache, InRef.nomRefCache AS inRefnomRefCache, " +\r
-                                               "       InInRefCategory.RefCategoryAbbrev AS InInRefCat, InInRef.refCache AS inInRefCache, InInRef.nomRefCache AS inInRefNomRefCache,   " + \r
+                                               "       InInRefCategory.RefCategoryAbbrev AS InInRefCat, InInRef.refCache AS inInRefCache, InInRef.nomRefCache AS inInRefNomRefCache    " + \r
                                                " FROM Reference " + \r
                                                        " INNER JOIN Reference AS InRef ON Reference.InRefFk = InRef.RefId " +\r
                                                    " INNER JOIN Reference AS InInRef ON InRef.InRefFk = InInRef.RefId " +\r