OracleFeatureWriter incorrectly treats update statement
-------------------------------------------------------

                 Key: GEOT-934
                 URL: http://jira.codehaus.org/browse/GEOT-934
             Project: GeoTools
          Issue Type: Bug
    Affects Versions: 2.2-RC2
            Reporter: Oleg Yefimov


OracleFeatureWriter uses prepared statements to update features, and geometry 
attribute is set as object of the prepared statement.

However, there is no check in doUpdate method if the geometry attribute has 
actually changed!

So, in case some non-geometry attribute has changed, makeUpdateSql method  
generates sql with no '?' positions, and then doUpdate method calls 
setObject(), getting ORA-01006 exception.

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

        

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to