Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightFactory.java @ 8568:078b07a94023
Use updated class name instead of no more existant.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 26 Feb 2015 15:37:03 +0100 |
parents | 3a0522f1a532 |
children | 17a3030bbda2 |
comparison
equal
deleted
inserted
replaced
8567:9bbce0edd36b | 8568:078b07a94023 |
---|---|
142 } | 142 } |
143 | 143 |
144 Session session = SessionHolder.HOLDER.get(); | 144 Session session = SessionHolder.HOLDER.get(); |
145 SQLQuery sqlQuery = null; | 145 SQLQuery sqlQuery = null; |
146 if (type.equals("single")) { | 146 if (type.equals("single")) { |
147 BedHeightSingleData height = | 147 BedHeightData height = |
148 new BedHeightSingleData(getHeightName(type, height_id)); | 148 new BedHeightData(getHeightName(type, height_id)); |
149 String queryString = SQL_SELECT_SINGLE; | 149 String queryString = SQL_SELECT_SINGLE; |
150 if (Double.isNaN(from) || Double.isNaN(to)) { | 150 if (Double.isNaN(from) || Double.isNaN(to)) { |
151 queryString += ID_CLAUSE; | 151 queryString += ID_CLAUSE; |
152 } else { | 152 } else { |
153 queryString += ID_STATION_CLAUSE; | 153 queryString += ID_STATION_CLAUSE; |