If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Connect JDBC & Neon Shadow ODBC driver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-13-03, 10:34
bhanuprasadj bhanuprasadj is offline
Registered User
 
Join Date: Nov 2003
Posts: 2
Angry DB2 Connect JDBC & Neon Shadow ODBC driver

We have an interesting problem with the data encodings by two different drivers targetted to the same database.

CASE 1:
We have a legacy VB system which uses Neon Shadow Driver to connect to DB2-Mainframe. When we save NON-ASCII characters from the VB system, the non ASCII character is getting stored properly.
I mean when we save 'µ' ( unicode 181 ), it is stored as 181 only.
I'm able to see the same 'µ' on retrieval in the VB syst.

CASE 2:

WE implemented the legacy syst using J2EE tech.(thin client).

When I save the same 'µ' character from thin client using DB2 connect Driver, it is not getting saved as 181. But it is saved as some number 160( I think).
But on retrieval DB2 connect is retrieving the same 'µ'. No issue with this.

But the problem comes up , when we mix both of them. it is troubling as both are saving the same character in different ways.

i.e Saving non-ascii from VB and retrieving the same from thin-client.
and
Saving non-ascii from thin-client and retrieving from VB.

In both cases , we can't see 'µ'.

Any insights or solutions in this regard would be appreciated.

Thanks
Bhanu.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On