GeeCON Prague 2014*
The moose likes Servlets and the fly likes Strange string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Strange string" Watch "Strange string" New topic
Author

Strange string

zheng yu
Greenhorn

Joined: Apr 25, 2001
Posts: 28
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Strange string