Index: trunk/WikiWord/WikiWordBuilder/src/main/java/de/brightbyte/wikiword/store/builder/DatabaseLocalPropertyStoreBuilder.java |
— | — | @@ -54,7 +54,7 @@ |
55 | 55 | |
56 | 56 | this.propertyInserter = configureTable("property", 128, 3*32); |
57 | 57 | this.propertyTable = (RelationTable)propertyInserter.getTable(); |
58 | | - propertyInserter.setLenient(true); //skip dupes |
| 58 | + propertyInserter.setOnDuplicateKey("IGNORE"); //skip dupes |
59 | 59 | |
60 | 60 | this.conceptStoreSchema = conceptStoreSchema; |
61 | 61 | this.idManager = idManager; |
Index: trunk/WikiWord/WikiWordBuilder/src/main/java/de/brightbyte/wikiword/store/builder/DatabaseLocalConceptStoreBuilder.java |
— | — | @@ -131,7 +131,7 @@ |
132 | 132 | definitionInserter = configureTable("definition", 1024, 256); |
133 | 133 | resourceInserter = configureTable("resource", 256, 32); |
134 | 134 | aliasInserter = configureTable("alias", 1024, 64); |
135 | | - aliasInserter.setLenient(true); |
| 135 | + aliasInserter.setOnDuplicateKey("IGNORE"); |
136 | 136 | meaningInserter = configureTable("meaning", 8*1024, 64); |
137 | 137 | |
138 | 138 | resourceTable = (EntityTable)resourceInserter.getTable(); |
Index: trunk/WikiWord/WikiWordBuilder/src/main/java/de/brightbyte/wikiword/store/builder/DatabaseWikiWordConceptStoreBuilder.java |
— | — | @@ -58,7 +58,7 @@ |
59 | 59 | linkInserter = configureTable("link", 8*1024, 64); |
60 | 60 | langlinkInserter = configureTable("langlink", 2*1024, 64); |
61 | 61 | |
62 | | - langlinkInserter.setLenient(true); |
| 62 | + langlinkInserter.setOnDuplicateKey("IGNORE"); |
63 | 63 | |
64 | 64 | conceptTable = (EntityTable)conceptInserter.getTable(); |
65 | 65 | broaderTable = (RelationTable)broaderInserter.getTable(); |