comparison artifact-database/src/main/resources/sql/org-postgresql-driver.properties @ 173:940ed629419f

Solve the SQL problem with the collection listings. artifacts/trunk@1399 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 04 Mar 2011 14:06:56 +0000
parents ac0f8bd97277
children 16e6e661e6bf
comparison
equal deleted inserted replaced
172:8ce06db80857 173:940ed629419f
51 51
52 collection.creation.time=SELECT creation from collections WHERE id = ? 52 collection.creation.time=SELECT creation from collections WHERE id = ?
53 53
54 collections.select.user= \ 54 collections.select.user= \
55 SELECT c.gid, c.name, c.creation, u.gid FROM \ 55 SELECT c.gid, c.name, c.creation, u.gid FROM \
56 collections c OUTER LEFT JOIN users u ON c.owner_id = u.id \ 56 collections c LEFT OUTER JOIN users u ON c.owner_id = u.id \
57 WHERE u.gid = ?::uuid 57 WHERE u.gid = ?::uuid
58 58
59 collections.select.all= \ 59 collections.select.all= \
60 SELECT c.gid, c.name, c.creation, u.gid FROM \ 60 SELECT c.gid, c.name, c.creation, u.gid FROM \
61 collections c OUTER LEFT JOIN users u ON c.owner_id = u.id 61 collections c LEFT OUTER JOIN users u ON c.owner_id = u.id
62 62
63 users.collections=SELECT collection_id, gid, name FROM collections WHERE owner_id = ? 63 users.collections=SELECT collection_id, gid, name FROM collections WHERE owner_id = ?
64 users.collection.ids=SELECT collection_id FROM collections WHERE owner_id = ? 64 users.collection.ids=SELECT collection_id FROM collections WHERE owner_id = ?
65 65
66 artifacts.in.one.collection.only=\ 66 artifacts.in.one.collection.only=\

http://dive4elements.wald.intevation.org