aspose 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 Soft Skills this week in the Jobs Discussion 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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How i get the correct rowid from oracle in Java?