Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

works in 8i but fails in 9i

 
manish ahuja
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am having a simple resultset program where i use
i am using thin driver

sql statement used is "select fname from fset";
fname = varchar2(30)

System.out.println(rset.getString(1));
It fails gives ora-0600 exception at runtime in 9i but works in 8i
but if i change the sqlstatement to
"select fid from fset"
fid = number(10)
System.out.println(rset.getString(1));
It works both in 9i & 8i
How to solve
Rgrds
 
Anupreet Arora
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Manish,
The issue most likely is that the version of the JDBC driver that you are using is for Oracle 8i and is not fully compatible with 9i. If you get the driver versions provided for your 9i Oracle version, then problem should be solved.
Try it out and let me know.
Cheers
Anupreet
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic