File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC-ODBC : Starnge Output???" Watch "JDBC-ODBC : Starnge Output???" New topic

JDBC-ODBC : Starnge Output???

jean-pierre dessart

Joined: Jun 12, 2002
Posts: 1
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,
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:
subject: JDBC-ODBC : Starnge Output???
jQuery in Action, 3rd edition