Mercurial > dive4elements > river
diff flys-artifacts/src/main/resources/datacage-sql/org-h2-driver.properties @ 1006:1917f32701dc
Forwarded kill collections and artifacts events to datacage.
flys-artifacts/trunk@2447 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 02 Aug 2011 11:38:20 +0000 |
parents | 0e8c03b69627 |
children | 02c327ffbad7 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/resources/datacage-sql/org-h2-driver.properties Tue Aug 02 11:20:18 2011 +0000 +++ b/flys-artifacts/src/main/resources/datacage-sql/org-h2-driver.properties Tue Aug 02 11:38:20 2011 +0000 @@ -25,3 +25,5 @@ delete.artifact.data.by.artifact.id = DELETE FROM artifact_data WHERE artifact_id = ? delete.outs.by.artifact.id = DELETE FROM outs WHERE artifact_id = ? delete.facets.by.artifact.id = DELETE FROM facets WHERE out_id IN (SELECT id FROM outs WHERE artifact_id = ?) + +delete.artifact.by.gid = DELETE FROM artifacts WHERE gid = ?