We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90714c7 commit 5ad607dCopy full SHA for 5ad607d
bag2-loader/src/main/java/nl/b3p/brmo/bag2/loader/cli/BAG2LoaderMain.java
@@ -536,7 +536,11 @@ and not exists (select 1 from standplaats_nevenadres sn where sn.heeftalsnevenad
536
}
537
sql =
538
"""
539
- delete from openbareruimte o where not exists (select 1 from nummeraanduiding where ligtaan = o.identificatie)
+ delete from openbareruimte o
540
+ where not exists (
541
+ select 1 from woonplaats w
542
+ where o.ligtin = w.identificatie
543
+ )
544
""";
545
try (PreparedStatement ps = db.getConnection().prepareStatement(sql)) {
546
log.info("Verwijderen niet-gerefereerde openbareruimte-records");
0 commit comments