• Post Reply Bookmark Topic Watch Topic
  • New Topic

importing oracle.sql.*

 
trupti nigam
Ranch Hand
Posts: 627
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ALL,

To import oracle.sql.* ,what parameters need to be in my classpath.
In eclipse it doen't recognise the oracle package.I am using jdk1.4
Thnaks,
Trupti
 
Dilshad Marikar
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using 9i you need ojdbc14.jar on your classpath, else classes12.jar will do. Its in jdbc/lib directory of your oracle installation.

Consult the jdbc guide for further info:

Oracle JDBC Developers guide
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!