This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Strange string

zheng yu
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic