wood burning stoves 2.0
The moose likes JDBC and Relational Databases and the fly likes JDBC-ODBC : Starnge Output??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC-ODBC : Starnge Output???" Watch "JDBC-ODBC : Starnge Output???" New topic
Author

JDBC-ODBC : Starnge Output???

jean-pierre dessart
Greenhorn

Joined: Jun 12, 2002
Posts: 1
Hi,
when I try reading a VARCHAR from my (oracle) ResultSet by: String s = resultset.getString(1); I do not get the String I expected but it fills with a quite long hexadecimal code. Would anyone have any ideas what I am doing wrong?
Many thanks,
Jean-Pierre.
sim sim
Ranch Hand

Joined: Jun 05, 2002
Posts: 55
It would help us if u post the source code, buddy. Just a hunch, is the fist col u r retreving for the resultset, a string ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC-ODBC : Starnge Output???