Mercurial > dive4elements > river
diff flys-artifacts/src/main/resources/datacage-sql/org-h2-driver.properties @ 996:f61fe8b561d2
Datacage: delete artifacts at initial scan, too. Fixed problem with writing content of state data.
flys-artifacts/trunk@2432 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 31 Jul 2011 19:47:41 +0000 |
parents | 5b467bc27eda |
children | c58da6dd15ed |
line wrap: on
line diff
--- a/flys-artifacts/src/main/resources/datacage-sql/org-h2-driver.properties Sun Jul 31 19:07:02 2011 +0000 +++ b/flys-artifacts/src/main/resources/datacage-sql/org-h2-driver.properties Sun Jul 31 19:47:41 2011 +0000 @@ -1,4 +1,5 @@ delete.all.users = DELETE FROM users +delete.all.artifacts = DELETE FROM artifacts user.id.nextval = SELECT NEXTVAL('USERS_ID_SEQ') user.by.gid = SELECT id FROM users WHERE gid = ? insert.user = INSERT INTO users (id, gid) VALUES (?, ?)