changeset 6660:8a1afe974fb0

issue1415: Define update statement for artifacts state.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 25 Jul 2013 12:05:22 +0200
parents ed61ffc0687e
children 05395533fe82
files artifacts/src/main/resources/datacage-sql/org-h2-driver.properties
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/resources/datacage-sql/org-h2-driver.properties	Thu Jul 25 10:19:58 2013 +0200
+++ b/artifacts/src/main/resources/datacage-sql/org-h2-driver.properties	Thu Jul 25 12:05:22 2013 +0200
@@ -17,6 +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.collection.name = UPDATE collections SET name = ? WHERE gid = ?
 delete.artifact.from.collection = DELETE FROM collection_items WHERE collection_id = ? AND artifact_id = ?

http://dive4elements.wald.intevation.org