Mercurial > dive4elements > river
comparison flys-artifacts/src/main/resources/datacage-sql/org-h2-driver.properties @ 989:f3be883325ce
Add artifacts into datacage db at initial scan.
flys-artifacts/trunk@2421 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 29 Jul 2011 07:56:28 +0000 |
parents | dbe39e1fb5e7 |
children | e573c4715d81 |
comparison
equal
deleted
inserted
replaced
988:dbe39e1fb5e7 | 989:f3be883325ce |
---|---|
6 collection.id.nextval = SELECT NEXTVAL('COLLECTIONS_ID_SEQ') | 6 collection.id.nextval = SELECT NEXTVAL('COLLECTIONS_ID_SEQ') |
7 insert.collection = INSERT INTO collections (id, gid, user_id, name) VALUES (?, ?, ?, ?) | 7 insert.collection = INSERT INTO collections (id, gid, user_id, name) VALUES (?, ?, ?, ?) |
8 artifact.by.gid = SELECT id FROM artifacts WHERE gid = ? | 8 artifact.by.gid = SELECT id FROM artifacts WHERE gid = ? |
9 collection.item.id.nextval = SELECT NEXTVAL('COLLECTION_ITEMS_ID_SEQ') | 9 collection.item.id.nextval = SELECT NEXTVAL('COLLECTION_ITEMS_ID_SEQ') |
10 insert.collection.item = INSERT INTO collection_items (id, collection_id, artifact_id) VALUES (?, ?, ?) | 10 insert.collection.item = INSERT INTO collection_items (id, collection_id, artifact_id) VALUES (?, ?, ?) |
11 artifact.id.nextval = SELECT NEXTVAL('ARTIFACTS_ID_SEQ') | |
12 insert.artifact = INSERT INTO artifacts (id, gid, state) VALUES (?, ?, ?) |