Index: trunk/WikiWord/WikiWordBuilder/src/main/java/de/brightbyte/wikiword/store/builder/DatabasePropertyStoreBuilder.java |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | |
114 | 114 | protected boolean hasUnresolvedConceptReferences() throws PersistenceException{ |
115 | 115 | try { |
116 | | - Number c = (Number)database.executeSingleValueQuery("DatabasePropertyStoreBuilder.finishAliases#hasNull?", "select exists(select * from wmde10apr_en_property where concept is null)"); |
| 116 | + Number c = (Number)database.executeSingleValueQuery("DatabasePropertyStoreBuilder.finishAliases#hasNull?", "select exists(select * from "+propertyTable.getSQLName()+" where concept is null)"); |
117 | 117 | return c.intValue() > 0; |
118 | 118 | } catch (SQLException e) { |
119 | 119 | throw new PersistenceException(e); |
— | — | @@ -121,7 +121,7 @@ |
122 | 122 | |
123 | 123 | protected boolean hasResolvedConceptReferences() throws PersistenceException { |
124 | 124 | try { |
125 | | - Number c = (Number)database.executeSingleValueQuery("DatabasePropertyStoreBuilder.finishAliases#hasNull?", "select exists(select * from wmde10apr_en_property where concept is not null)"); |
| 125 | + Number c = (Number)database.executeSingleValueQuery("DatabasePropertyStoreBuilder.finishAliases#hasNull?", "select exists(select * from "+propertyTable.getSQLName()+" where concept is not null)"); |
126 | 126 | return c.intValue() > 0; |
127 | 127 | } catch (SQLException e) { |
128 | 128 | throw new PersistenceException(e); |