Simplify filters before encoding them in SQL
--------------------------------------------

                 Key: GEOT-1941
                 URL: http://jira.codehaus.org/browse/GEOT-1941
             Project: GeoTools
          Issue Type: Bug
          Components: data jdbc
    Affects Versions: 2.5-M2, 2.4.4
            Reporter: Andrea Aime


Filter splitting and encoding can result in queries like "WHERE TRUE AND TRUE" 
or "WHERE FALSE" or "WHERE 1=1". This is simply put very annoying, 
Filter.INCLUDE and Filter.EXCLUDE should just be removed before they get into 
the sql encoding code. 

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