# HG changeset patch # User Tim Englich # Date 1255424430 0 # Node ID 5bbdbc0bbddc70c19eb9a947bd802f7ec7596576 # Parent 031ef9649cd116d650693d544cdad8be7ea7ab4b Added SFS-Support to ArcSDE-Query-Part geo-backend/trunk@211 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 031ef9649cd1 -r 5bbdbc0bbddc geo-backend/ChangeLog --- a/geo-backend/ChangeLog Tue Oct 13 08:57:19 2009 +0000 +++ b/geo-backend/ChangeLog Tue Oct 13 09:00:30 2009 +0000 @@ -1,5 +1,7 @@ 2009-10-13 Tim Englich + * src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java (QueryExecutorTestCase): + Changed expected Result of Spatial-Query-TestCase because of Changes to the used Query * src/test/ressources/QueryExecutorTestCase.properties: Added SFS-Conformal Query * pom.xml: diff -r 031ef9649cd1 -r 5bbdbc0bbddc geo-backend/src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java --- a/geo-backend/src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java Tue Oct 13 08:57:19 2009 +0000 +++ b/geo-backend/src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java Tue Oct 13 09:00:30 2009 +0000 @@ -49,7 +49,7 @@ public void testSpatialQuery(){ try { - this.testQuery(27031, "spatial_query", null); + this.testQuery(5, "spatial_query", null); } catch (QueryException e) { log.error(e,e); fail(); @@ -119,7 +119,7 @@ int columns = resultDescriptor.getColumnCount(); for (int i = 0; i < columns; i++){ String columnName = resultDescriptor.getColumnName(i); - Object value = tmpResult.getObject(columnName); + Object value = tmpResult.getString(columnName); log.debug(columnName + " ==> "+value.toString()); } }