Get rid of the non prepared statements code path in JDBCDataStore
-----------------------------------------------------------------

                 Key: GEOT-1999
                 URL: http://jira.codehaus.org/browse/GEOT-1999
             Project: GeoTools
          Issue Type: Improvement
          Components: data h2
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 2.5.0, 2.6-M0


Issues with the non ps code path:
- can suffer from sql injection attacks
- requires different handling of date/time for different databases
- cannot leverage preparsing of statemetns (prepared statement caching)
- it's one more code path that has to be maintained

Projects like Hibernate and Hibernate spatial show that using only ps is 
effective, provides good performance, and can be done with spatial types as 
well.

-- 
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

Reply via email to