Merge "Issue #1055: Fix coop precip breakage from Wes2Bridge db changes." into development_on_ss_builds

Former-commit-id: cf7be4b4a2a49f365258f1ac6262b64e86e705e4
This commit is contained in:
Lee Venable 2012-08-14 14:26:10 -05:00 committed by Gerrit Code Review
commit 2c2a3f4aec

View file

@ -63,6 +63,8 @@ import com.vividsolutions.jts.geom.Coordinate;
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* Dec 3, 2010 bsteffen Initial creation
* Aug 14,2012 #1055 dgilling Fix getData regression from
* fxatext schema changes.
*
* </pre>
*
@ -177,7 +179,7 @@ public class CoopPrecipDataCubeAdapter implements IDataCubeAdapter {
private PointDataContainer getData(String nnnid) throws VizException {
List<Object[]> queryResult = DirectDbQuery.executeQuery(
"select createtime, product from stdtextproducts where nnnid = '"
"select refTime, product from stdtextproducts where nnnid = '"
+ nnnid + "'", "fxa", DirectDbQuery.QueryLanguage.SQL);
List<Long> times = new ArrayList<Long>(queryResult.size());
List<String> products = new ArrayList<String>(queryResult.size());