This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
TOMCAt3.2.1+Oracle8.1.7(classes12.zip) + 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 . Thankx ZY
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... Dave.