Provide a non prepared statement option for Oracle
--------------------------------------------------

                 Key: GEOT-2295
                 URL: http://jira.codehaus.org/browse/GEOT-2295
             Project: GeoTools
          Issue Type: Improvement
          Components: data oraclespatial
    Affects Versions: 2.5.2
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.5.3


Looking deeper in the old Oracle datastore it seems prepared statements were 
used only for writes.
As it was done for PostGIS, provide a non prepared statement option. The reason 
is the same, when using ps an index access for spatial queries is assumed, but 
if you're reading the whole table, that's not efficient, a sequential scan 
should be used instead (and that happens only if you provide the actual bbox 
instead of just a ? placehoder).

-- 
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to