Can you create a patch for the arcsde module maintainer to review? The
user community able to test arcsde (and willing to talk about it) is
quite small - a lot of work has gone into the ArcSDE datastore and I am
sure the maintainer will be interested.
Jody
jericks wrote:
> I was testing an application that uses the GeoTools ArcSDE module to insert
> into an ArcSDE FeatureClass and I think I discovered a bug. For columns of
> type NString, you have to use SeRow.setNString instead of SeRow.setString.
> ArcSdeFeatureWriter tries to use SeRow.setString for all string types (see
> line 653).
>
> else if (colType == SeColumnDefinition.TYPE_STRING
> || colType == SeColumnDefinition.TYPE_NSTRING
> || colType == SeColumnDefinition.TYPE_CLOB
> || colType == SeColumnDefinition.TYPE_NCLOB) {
> convertedValue = Converters.convert(convertedValue,
> String.class);
> row.setString(index, (String) convertedValue);
>
> Could this be fixed for the 2.5 release?
>
> Thanks,
> Jared
>
|