On Tue, May 22, 2012 at 9:07 PM, Ben Caradoc-Davies <
ben.caradoc-dav...@csiro.au> wrote:

> Justin,
>
> I am attempting to use H2 to test sorting of features (in the context of
> GeoServer paging, i.e. WFS 2.0 GetFeaturePagingTest).
>
> When I add features to an H2 data store, they seem to always come out
> sorted by fid, even when I put them in intentionally unsorted (via
> ListFeatureCollection). Is this an innate property of the H2 data store
> (meaning my test fixture is doomed) or should I be able to get unsorted
> features?
>
Hmmm... i don;t know of any explicit sorting by id... but it could very
well be in there. I would turn on debug logging in the jdbc module and see
what sql is actually being created. It could be that h2 automatically
returns data sorted by the primary key.

>
> Kind regards,
>
> --
> Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au>
> Software Engineer
> CSIRO Earth Science and Resource Engineering
> Australian Resources Research Centre
>



-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to