Mercurial > dive4elements > framework
comparison artifact-database/src/main/resources/sql/org-h2-driver.properties @ 215:a9c8fa38ba03
Added new collection specific sql statements.
artifacts/trunk@1554 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 24 Mar 2011 11:28:26 +0000 |
parents | 199f0e553e3a |
children | 328ef982d768 |
comparison
equal
deleted
inserted
replaced
214:fc435da7f471 | 215:a9c8fa38ba03 |
---|---|
118 | 118 |
119 collections.select.all= \ | 119 collections.select.all= \ |
120 SELECT c.gid, c.name, c.creation, u.gid FROM \ | 120 SELECT c.gid, c.name, c.creation, u.gid FROM \ |
121 collections c LEFT OUTER JOIN users u ON c.owner_id = u.id | 121 collections c LEFT OUTER JOIN users u ON c.owner_id = u.id |
122 | 122 |
123 collections.select.by.gid= \ | |
124 SELECT id, name, owner_id, creation, last_access, attribute \ | |
125 FROM collections WHERE gid = ? | |
126 | |
123 users.collections=SELECT collection_id, gid, name FROM collections WHERE owner_id = ? | 127 users.collections=SELECT collection_id, gid, name FROM collections WHERE owner_id = ? |
124 users.collection.ids=SELECT collection_id FROM collections WHERE owner_id = ? | 128 users.collection.ids=SELECT collection_id FROM collections WHERE owner_id = ? |
125 | 129 |
126 users.delete.all.collections=DELETE FROM collections WHERE owner_id = ? | 130 users.delete.all.collections=DELETE FROM collections WHERE owner_id = ? |
127 | 131 |