Mercurial > dive4elements > river
comparison flys-artifacts/src/main/resources/datacage-sql/org-h2-driver.properties @ 988:dbe39e1fb5e7
Datacage: Add collection items at initial scan.
flys-artifacts/trunk@2420 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 28 Jul 2011 15:59:38 +0000 |
parents | 82ef338fee91 |
children | f3be883325ce |
comparison
equal
deleted
inserted
replaced
987:82ef338fee91 | 988:dbe39e1fb5e7 |
---|---|
3 user.by.gid = SELECT id FROM users WHERE gid = ? | 3 user.by.gid = SELECT id FROM users WHERE gid = ? |
4 insert.user = INSERT INTO users (id, gid) VALUES (?, ?) | 4 insert.user = INSERT INTO users (id, gid) VALUES (?, ?) |
5 collection.by.gid = SELECT id FROM collections WHERE gid = ? | 5 collection.by.gid = SELECT id FROM collections WHERE gid = ? |
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 = ? | |
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 (?, ?, ?) |