SqlEncoder does not escape single quotes when encoding string literals
----------------------------------------------------------------------

                 Key: GEOT-1351
                 URL: http://jira.codehaus.org/browse/GEOT-1351
             Project: GeoTools
          Issue Type: Bug
          Components: data jdbc
    Affects Versions: 2.3.2, 2.4-M3
            Reporter: Andrea Aime
            Assignee: Andrea Aime
            Priority: Critical
             Fix For: 2.4-M4, 2.3.3


When encoding strings like "a'a" the output should be 'a''a', not 'a'a', which 
is an invalid string literal in sql

-- 
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to