Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases and the fly likes Does someone has the same problem like me ? 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 this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Does someone has the same problem like me ? " Watch "Does someone has the same problem like me ? " New topic

Does someone has the same problem like me ?

zheng yu

Joined: Apr 25, 2001
Posts: 28
TOMCAt3.2.1+Oracle8.1.7( + JDK1.2.2
In my program , i use createStatement( TYPE_SCROLL_INSENSITIVE ,CONCUR_READ_ONLY ) to get scrollable resultset. And i use first() /last() /absolute() to implement my pager logic .
The problem is :
when i use getString(index) to get field data( defined as VARCHAR2) , what i get is its INNER CODE . for example :
for a field value like "1234" , what i get is "0x31323334"
Does some one face same problem like me ? does this problem has something to do with locale setting & charset ? My Locale is JP .
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Not sure exactly, but I think the problem has been reported before and was due to using createStatement( TYPE_SCROLL_INSENSITIVE ,CONCUR_READ_ONLY ) rather than just createStatement().
If this can't solve you problem, you'll have to parse the text yourself (not recommended) or hopefully someone else has a suggestion...
I agree. Here's the link:
subject: Does someone has the same problem like me ?
jQuery in Action, 3rd edition