Mercurial > dive4elements > framework
comparison artifact-database/src/main/resources/sql/org-postgresql-driver.properties @ 216:2d90d5cfe8f9
Added a cast to uuid in collections.select.by.gid
artifacts/trunk@1555 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 24 Mar 2011 15:29:41 +0000 |
parents | a9c8fa38ba03 |
children | 1ea35226a6de |
comparison
equal
deleted
inserted
replaced
215:a9c8fa38ba03 | 216:2d90d5cfe8f9 |
---|---|
119 SELECT c.gid, c.name, c.creation, u.gid FROM \ | 119 SELECT c.gid, c.name, c.creation, u.gid FROM \ |
120 collections c LEFT OUTER JOIN users u ON c.owner_id = u.id | 120 collections c LEFT OUTER JOIN users u ON c.owner_id = u.id |
121 | 121 |
122 collections.select.by.gid= \ | 122 collections.select.by.gid= \ |
123 SELECT id, name, owner_id, creation, last_access, attribute \ | 123 SELECT id, name, owner_id, creation, last_access, attribute \ |
124 FROM collections WHERE gid = ? | 124 FROM collections WHERE gid = ?::uuid |
125 | 125 |
126 users.collections=SELECT collection_id, gid, name FROM collections WHERE owner_id = ? | 126 users.collections=SELECT collection_id, gid, name FROM collections WHERE owner_id = ? |
127 users.collection.ids=SELECT collection_id FROM collections WHERE owner_id = ? | 127 users.collection.ids=SELECT collection_id FROM collections WHERE owner_id = ? |
128 | 128 |
129 artifacts.in.one.collection.only=\ | 129 artifacts.in.one.collection.only=\ |