[PATCH 2 of 4] issue1043: Fetch 'dm'-values in QualityMeasurementFactory
Wald Commits
scm-commit at wald.intevation.org
Mon Dec 2 15:23:18 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1385991823 -3600
# Node ID 3da531976039f6c72de5bb615bd6686c97294740
# Parent 1e509612445f7031f7efcbb604b440ecfe967478
issue1043: Fetch 'dm'-values in QualityMeasurementFactory.
diff -r 1e509612445f -r 3da531976039 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/QualityMeasurementFactory.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/QualityMeasurementFactory.java Mon Dec 02 14:42:49 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/QualityMeasurementFactory.java Mon Dec 02 14:43:43 2013 +0100
@@ -31,6 +31,7 @@
" sp.tiefevon as depth1," +
" sp.tiefebis as depth2," +
" sa.d10 as d10," +
+ " sa.dm as dm," +
" sa.d16 as d16," +
" sa.d20 as d20," +
" sa.d25 as d25," +
@@ -61,6 +62,7 @@
private static final String SQL_BEDLOAD_MEASUREMENT =
"SELECT m.km as km," +
" m.datum as datum," +
+ " m.dm as dm," +
" m.d10 as d10," +
" m.d16 as d16," +
" m.d20 as d20," +
@@ -143,6 +145,7 @@
SQLQuery query = session.createSQLQuery(statement)
.addScalar("km", StandardBasicTypes.DOUBLE)
.addScalar("datum", StandardBasicTypes.DATE)
+ .addScalar("dm", StandardBasicTypes.DOUBLE)
.addScalar("d10", StandardBasicTypes.DOUBLE)
.addScalar("d16", StandardBasicTypes.DOUBLE)
.addScalar("d20", StandardBasicTypes.DOUBLE)
More information about the Dive4elements-commits
mailing list