Mercurial > dive4elements > river
comparison flys-aft/src/main/java/de/intevation/db/SymbolicStatement.java @ 4100:981de0b77c6b
If gauges exist in FLYS and AFT store the discharge tables in FLYS that are only in AFT.
flys-aft/trunk@3622 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 08 Jan 2012 11:33:44 +0000 |
parents | aad1886ea226 |
children | b195fede1c3b |
comparison
equal
deleted
inserted
replaced
4099:006e99437fb9 | 4100:981de0b77c6b |
---|---|
104 } | 104 } |
105 } | 105 } |
106 return this; | 106 return this; |
107 } | 107 } |
108 | 108 |
109 public Instance setLong(String key, long value) | |
110 throws SQLException | |
111 { | |
112 List<Integer> pos = positions.get(key.toLowerCase()); | |
113 if (pos != null) { | |
114 for (Integer p: pos) { | |
115 stmnt.setLong(p, value); | |
116 } | |
117 } | |
118 return this; | |
119 } | |
120 | |
109 public Instance setNull(String key, int sqlType) | 121 public Instance setNull(String key, int sqlType) |
110 throws SQLException | 122 throws SQLException |
111 { | 123 { |
112 List<Integer> pos = positions.get(key.toLowerCase()); | 124 List<Integer> pos = positions.get(key.toLowerCase()); |
113 if (pos != null) { | 125 if (pos != null) { |