Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2-RC2
-
Fix Version/s: 2.2-RC4
-
Component/s: jdbc-oracle plugin
-
Labels:None
Description
OracleFeatureWriter has been upgraded to use prepared statements for insert and update. That's why method getGeometryInsertText(Geometry geom, int srid) now returns "?". And doUpdate(Feature live, Feature current) hasn't been changed, so it tries to execute prepared statements as statements. Obviously, doUpdate must be overriden in a manner similar to doInsert to use prepared statements.
Issue Links
- is depended upon by
-
GEOS-641
OracleFeatureWriter cannot update Geometry fields
-
I have created a little patch of the OracleFeatureWriter, overriding the doUpdate method similar to doInsert. I will attach this patched version to this issue as we..