comparison artifact-database/src/main/resources/sql/org-h2-driver.properties @ 33:251e8904d6c2

Make the Interfaces Serializable to make them usable in the Artifactdatabase. Bug Fixed in SQL-Statement artifacts/trunk@81 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 14 Sep 2009 13:36:35 +0000
parents c2d53bd30ab8
children 5e4bc24ea438
comparison
equal deleted inserted replaced
32:c2d53bd30ab8 33:251e8904d6c2
1 artifacts.id.nextval=SELECT NEXTVAL('ARTIFACTS_ID_SEQ') 1 artifacts.id.nextval=SELECT NEXTVAL('ARTIFACTS_ID_SEQ')
2 2
3 artifacts.insert=INSERT INTO artifacts \ 3 artifacts.insert=INSERT INTO artifacts \
4 (id, gid, creation, last_access, ttl, data) \ 4 (id, gid, creation, last_access, ttl, data) \
5 VALUES (?, ?, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ?, data) 5 VALUES (?, ?, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ?, ?)
6 6
7 artifacts.update=UPDATE artifacts SET last_access = CURRENT_TIMESTAMP, \ 7 artifacts.update=UPDATE artifacts SET last_access = CURRENT_TIMESTAMP, \
8 data = ? WHERE id = ? 8 data = ? WHERE id = ?
9 9
10 artifacts.touch=UPDATE last_access = CURRENT_TIMESTAMP WHERE id = ? 10 artifacts.touch=UPDATE last_access = CURRENT_TIMESTAMP WHERE id = ?

http://dive4elements.wald.intevation.org