JDBCFeatureReader should not wrap the resultset
-----------------------------------------------
Key: GEOT-2003
URL: http://jira.codehaus.org/browse/GEOT-2003
Project: GeoTools
Issue Type: Bug
Components: data h2
Reporter: Andrea Aime
Fix For: 2.5.0, 2.6-M0
There are a few reasons why this is problematic:
- the feature can be read and the connection severed, but the feature must
still be valid (as soon as next is called, the rs moves forward and the
contents that aren't
cached go bye bye)
- the resultset should be closed as soon as the last feature is read, there are
way too many people forgetting to close the reader (and code too, see the
associated issue)
- the code is not respecting the feature factory hint and returning features
that are not the one the user requested
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel