• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

works in 8i but fails in 9i

 
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic