Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Strange string  RSS feed

 
zheng yu
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Linux + TOMCAT3.2.1 + ORACLE8.1.7
I have a field named TITLECODE , i defined it as VARCHAR2 . And then insert some tuples into DB. their TITLECODE Field is like '00123456' .
When i use JDBC API to access TITLECODE field , what i get is like "0x3030313233343536". As all you can see , it give me its ASCII code
i want to get field value like '00123456', how can i do that ? Is there some DB configuration problem
Thanx in advance
ZY
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!