File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC 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
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 ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDBC-ODBC : Starnge Output???