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 How i get the correct rowid from oracle in Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How i get the correct rowid from oracle in Java?" Watch "How i get the correct rowid from oracle in Java?" New topic
Author

How i get the correct rowid from oracle in Java?

wrt wrt
Greenhorn

Joined: Nov 04, 2002
Posts: 1
In oracle: SELECT rowidtochar(a.rowid) as mywant
In java: rs.getString("mywant");
but the result in java has changed to the error form as follows:
0x41414146666141414941414141486A414146
Why??

thank you!
[ November 04, 2002: Message edited by: wrt wrt ]
 
jQuery in Action, 2nd edition
 
subject: How i get the correct rowid from oracle in Java?