[ 
http://jira.codehaus.org/browse/GEOT-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabriel Roldán reopened GEOT-2024:
----------------------------------


> ArcSDE NStrings
> ---------------
>
>                 Key: GEOT-2024
>                 URL: http://jira.codehaus.org/browse/GEOT-2024
>             Project: GeoTools
>          Issue Type: Bug
>          Components: data arcsde
>    Affects Versions: 2.5-RC0
>         Environment: Windows XP, Java 1.6.0
>            Reporter: Jared Erickson
>            Assignee: Gabriel Roldán
>             Fix For: 2.5.3
>
>         Attachments: arcsde_datastore_plugin.patch, arcsde_dummy_api.patch
>
>
> 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

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

       

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to