Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
6772:10646f31efec | 6775:5077fc1ace1c |
---|---|
15 insert.artifact.data = INSERT INTO artifact_data (id, artifact_id, kind, k, v) VALUES (?, ?, ?, ?, ?) | 15 insert.artifact.data = INSERT INTO artifact_data (id, artifact_id, kind, k, v) VALUES (?, ?, ?, ?, ?) |
16 out.id.nextval = SELECT NEXTVAL('OUTS_ID_SEQ') | 16 out.id.nextval = SELECT NEXTVAL('OUTS_ID_SEQ') |
17 insert.out = INSERT INTO outs (id, artifact_id, name, description, out_type) VALUES (?, ?, ?, ?, ?) | 17 insert.out = INSERT INTO outs (id, artifact_id, name, description, out_type) VALUES (?, ?, ?, ?, ?) |
18 facet.id.nextval = SELECT NEXTVAL('FACETS_ID_SEQ') | 18 facet.id.nextval = SELECT NEXTVAL('FACETS_ID_SEQ') |
19 insert.facet = INSERT INTO facets (id, out_id, name, num, state, description) VALUES (?, ?, ?, ?, ?, ?) | 19 insert.facet = INSERT INTO facets (id, out_id, name, num, state, description) VALUES (?, ?, ?, ?, ?, ?) |
20 update.artifact.state = UPDATE artifacts SET state = ? WHERE gid = ? | 20 update.artifact.state = UPDATE artifacts SET state = ? WHERE id = ? |
21 | 21 |
22 update.collection.name = UPDATE collections SET name = ? WHERE gid = ? | 22 update.collection.name = UPDATE collections SET name = ? WHERE gid = ? |
23 delete.artifact.from.collection = DELETE FROM collection_items WHERE collection_id = ? AND artifact_id = ? | 23 delete.artifact.from.collection = DELETE FROM collection_items WHERE collection_id = ? AND artifact_id = ? |
24 delete.collection.by.gid = DELETE FROM collections WHERE gid = ? | 24 delete.collection.by.gid = DELETE FROM collections WHERE gid = ? |
25 delete.user.by.gid = DELETE FROM user WHERE gid = ? | 25 delete.user.by.gid = DELETE FROM user WHERE gid = ? |