Project

General

Profile

« Previous | Next » 

Revision b3e0fcf9

Added by Andreas Müller about 3 years ago

ref #9322 fix the bug for deleting inverse representations in TermRemover

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/update/SingleTermRemover.java
114 114
            sql = String.format(sql, caseType.transformTo(tableName), id);
115 115
            datasource.executeUpdate(sql);
116 116
            sql = " DELETE FROM %s WHERE DefinedTermBase_id = %d";
117
            sql = String.format(sql, caseType.transformTo(tableName), id);
117
            sql = String.format(sql, caseType.transformTo(inverseTableName), id);
118 118
            datasource.executeUpdate(sql);
119 119

  
120 120
            //remove representations

Also available in: Unified diff