Mercurial > dive4elements > river
diff artifacts/src/main/resources/datacage-sql/org-h2-driver.properties @ 6775:5077fc1ace1c
issue1415: Corrected update query and parameter setting.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 07 Aug 2013 16:04:05 +0200 |
parents | 8a1afe974fb0 |
children |
line wrap: on
line diff
--- a/artifacts/src/main/resources/datacage-sql/org-h2-driver.properties Wed Aug 07 14:05:07 2013 +0200 +++ b/artifacts/src/main/resources/datacage-sql/org-h2-driver.properties Wed Aug 07 16:04:05 2013 +0200 @@ -17,7 +17,7 @@ insert.out = INSERT INTO outs (id, artifact_id, name, description, out_type) VALUES (?, ?, ?, ?, ?) facet.id.nextval = SELECT NEXTVAL('FACETS_ID_SEQ') insert.facet = INSERT INTO facets (id, out_id, name, num, state, description) VALUES (?, ?, ?, ?, ?, ?) -update.artifact.state = UPDATE artifacts SET state = ? WHERE gid = ? +update.artifact.state = UPDATE artifacts SET state = ? WHERE id = ? update.collection.name = UPDATE collections SET name = ? WHERE gid = ? delete.artifact.from.collection = DELETE FROM collection_items WHERE collection_id = ? AND artifact_id = ?