[ 
http://jira.codehaus.org/browse/GEOT-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Aime reopened GEOT-2247:
-------------------------------


Gah, closed the wrong one! (I was meaning to close the non ps dialect for 
postgis one...)

> Create a JDBCFilterToSQL to factor out common needs and issues
> --------------------------------------------------------------
>
>                 Key: GEOT-2247
>                 URL: http://jira.codehaus.org/browse/GEOT-2247
>             Project: GeoTools
>          Issue Type: Task
>          Components: data jdbc-ng
>    Affects Versions: 2.5.2
>            Reporter: Andrea Aime
>            Assignee: Andrea Aime
>             Fix For: 2.5.3
>
>
> All JDBC(ng) related filter to sql have at least two common issues:
> - they need to encode geometry literals with the same srid as the properties 
> they are compared against, otherwise the spatial databases will throw an 
> incompatible srid error
> - they can leverage the SQLDialect to encode the geometry literals
> A common superclass can handle the basic needs, and a prepared statement 
> subclass can deal with the further specialized needs of a PS based dialect.
> Or we can have just one class with a configuration parameter, which might 
> help out implementors looking out to have both a PS and a non PS dialect 
> around (for performance issues).

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

        

------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to