Jdbc Derby connect URL failed with a double byte language character [message #48570] |
Fri, 08 August 2008 10:31  |
Eclipse User |
|
|
|
Originally posted by: jinx.us.ibm.com
Hi:
When I use DTP connection profile to connect to a derby database with
UDB driver, and the database name or the path to the database has a
double byte language character, i.e.
URL:jdbc:derby:net://localhost:1527/"C:/近/mydatabase", I get the exception:
com.ibm.db2.jcc.b.SqlException: [jcc][10402][11146][3.50.152] Cannot
convert Unicode string to Ebcdic string. ERRORCODE=-4220, SQLSTATE=null
Does anyone know how I can specify a database name with a double byte
language character?
Thanks
Cindy
|
|
|
|
Re: Jdbc Derby connect URL failed with a double byte language character [message #49058 is a reply to message #48779] |
Wed, 20 August 2008 13:37  |
Eclipse User |
|
|
|
Originally posted by: brianf.sybase.com
Thanks Stephan for responding to Cindy's question!
--Fitz
"Stephan van Loendersloot" <stephan@republika.nl> wrote in message
news:g7q3i0$qk0$1@build.eclipse.org...
> Hi Cindy,
>
> This is a known problem, see:
>
> https://issues.apache.org/jira/browse/DERBY-728
>
> The workaround is to use characters of the ISO-8859-1 set.
>
> BTW, it is recommended to use the Derby database driver instead of the IBM
> driver.
>
> Regards,
>
> Stephan.
>
>> Hi:
>>
>> When I use DTP connection profile to connect to a derby database with UDB
>> driver, and the database name or the path to the database has a double
>> byte language character, i.e.
>> URL:jdbc:derby:net://localhost:1527/"C:/?/mydatabase", I get the
>> exception:
>> com.ibm.db2.jcc.b.SqlException: [jcc][10402][11146][3.50.152] Cannot
>> convert Unicode string to Ebcdic string. ERRORCODE=-4220, SQLSTATE=null
>>
>> Does anyone know how I can specify a database name with a double byte
>> language character?
>>
>> Thanks
>>
>> Cindy
|
|
|
Re: Jdbc Derby connect URL failed with a double byte language character [message #592643 is a reply to message #48570] |
Mon, 11 August 2008 15:22  |
Eclipse User |
|
|
|
Hi Cindy,
This is a known problem, see:
https://issues.apache.org/jira/browse/DERBY-728
The workaround is to use characters of the ISO-8859-1 set.
BTW, it is recommended to use the Derby database driver instead of the
IBM driver.
Regards,
Stephan.
> Hi:
>
> When I use DTP connection profile to connect to a derby database with
> UDB driver, and the database name or the path to the database has a
> double byte language character, i.e.
> URL:jdbc:derby:net://localhost:1527/"C:/近/mydatabase", I get the
> exception:
> com.ibm.db2.jcc.b.SqlException: [jcc][10402][11146][3.50.152] Cannot
> convert Unicode string to Ebcdic string. ERRORCODE=-4220, SQLSTATE=null
>
> Does anyone know how I can specify a database name with a double byte
> language character?
>
> Thanks
>
> Cindy
|
|
|
Re: Jdbc Derby connect URL failed with a double byte language character [message #592764 is a reply to message #48779] |
Wed, 20 August 2008 13:37  |
Eclipse User |
|
|
|
Thanks Stephan for responding to Cindy's question!
--Fitz
"Stephan van Loendersloot" <stephan@republika.nl> wrote in message
news:g7q3i0$qk0$1@build.eclipse.org...
> Hi Cindy,
>
> This is a known problem, see:
>
> https://issues.apache.org/jira/browse/DERBY-728
>
> The workaround is to use characters of the ISO-8859-1 set.
>
> BTW, it is recommended to use the Derby database driver instead of the IBM
> driver.
>
> Regards,
>
> Stephan.
>
>> Hi:
>>
>> When I use DTP connection profile to connect to a derby database with UDB
>> driver, and the database name or the path to the database has a double
>> byte language character, i.e.
>> URL:jdbc:derby:net://localhost:1527/"C:/?/mydatabase", I get the
>> exception:
>> com.ibm.db2.jcc.b.SqlException: [jcc][10402][11146][3.50.152] Cannot
>> convert Unicode string to Ebcdic string. ERRORCODE=-4220, SQLSTATE=null
>>
>> Does anyone know how I can specify a database name with a double byte
>> language character?
>>
>> Thanks
>>
>> Cindy
|
|
|
Powered by
FUDForum. Page generated in 0.06546 seconds