File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes works in 8i but fails in 9i Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "works in 8i but fails in 9i" Watch "works in 8i but fails in 9i" New topic

works in 8i but fails in 9i

manish ahuja
Ranch Hand

Joined: Oct 23, 2003
Posts: 312
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)

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)
It works both in 9i & 8i
How to solve
Anupreet Arora
Ranch Hand

Joined: Jun 17, 2003
Posts: 81
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.
I agree. Here's the link:
subject: works in 8i but fails in 9i
It's not a secret anymore!