Hi guys i am looking at the following code in oracle datastore that is
broken:
> if (((mapper.getColumnCount() > 0)
> && mapper.hasAutoIncrementColumns())) {
> // if (((mapper.getColumnCount() > 0))) {
> current.setID(mapper.createID(conn, current, statement));
> }
> }
Where the break is due to current.setID being protected in
MutableFIDFeature:
/** Sets the FID.
*
* This is protected for safety reason, i.e. so client classes can't
* use it by casting to it.
* @param fid The fid to set.
*/
protected void setID(String id) {
this.featureId = id;
}
This is puzzling as the whole point of a mutbale FID feature is the
ability to set the ID ... so something is up :-(
I am rolling back the change to setID (making it public) and we will
need to sort out why this problem cropped
up now...
Jody
-------------------------------------------------------------------------
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