comparison flys-backend/src/main/java/de/intevation/flys/model/Gauge.java @ 3688:8d38ee2de514

Rename method to satisfy hibernate flys-backend/trunk@5369 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Fri, 07 Sep 2012 08:06:00 +0000
parents c959444ff395
children 71834666447d
comparison
equal deleted inserted replaced
3687:69aa82ebff25 3688:8d38ee2de514
246 * Returns an array of [days, qs] necessary to create duration curves. 246 * Returns an array of [days, qs] necessary to create duration curves.
247 * 247 *
248 * @return a 2dim array of [days, qs] where days is an int[] and qs is 248 * @return a 2dim array of [days, qs] where days is an int[] and qs is
249 * an double[]. 249 * an double[].
250 */ 250 */
251 public Object[] getDurationCurveData() { 251 public Object[] fetchDurationCurveData() {
252 Session session = SessionHolder.HOLDER.get(); 252 Session session = SessionHolder.HOLDER.get();
253 253
254 Query query = session.createQuery( 254 Query query = session.createQuery(
255 "select cast(nmv.name as integer) as days, mv.value as q " + 255 "select cast(nmv.name as integer) as days, mv.value as q " +
256 "from MainValue as mv " + 256 "from MainValue as mv " +

http://dive4elements.wald.intevation.org