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
--
View this message in context:
http://www.nabble.com/GeoTools-RC1-and-ArcSDE-NStrings-tp19336564p19336564.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users