Mercurial > dive4elements > river
diff flys-artifacts/src/main/resources/datacage-sql/org-h2-driver.properties @ 991:c675b4a87201
Store outs of artifacts into datacage db at initial scan.
flys-artifacts/trunk@2423 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 29 Jul 2011 11:24:41 +0000 |
parents | e573c4715d81 |
children | 5b467bc27eda |
line wrap: on
line diff
--- a/flys-artifacts/src/main/resources/datacage-sql/org-h2-driver.properties Fri Jul 29 08:40:11 2011 +0000 +++ b/flys-artifacts/src/main/resources/datacage-sql/org-h2-driver.properties Fri Jul 29 11:24:41 2011 +0000 @@ -12,3 +12,5 @@ insert.artifact = INSERT INTO artifacts (id, gid, state) VALUES (?, ?, ?) artifact.data.id.nextval = SELECT NEXTVAL('ARTIFACT_DATA_ID_SEQ') insert.artifact.data = INSERT INTO artifact_data (id, artifact_id, kind, k, v) VALUES (?, ?, ?, ?, ?) +out.id.nextval = SELECT NEXTVAL('OUTS_ID_SEQ') +insert.out = INSERT INTO outs (id, artifact_id, name, description, out_type) VALUES (?, ?, ?, ?, ?)