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

JDBC For Oracle 8

 
Sanjay Jadhav
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..
Can anybody give me the link for installing jdbc for oracle8 i follow the instruction given in jdbc\readme.txt but the sample example jdbccheckup and employee throwing the exception "UnsatisfiedLink" so any one can give me the like for how to install the driver how to give tsnnames or servidename to databse etc.
thank you
sanjay jadhav
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First you are probably using classes12.zip? If so just rename it to classes12.jar and make sure the jar file is in your class path.
Second the tnsnames stuff.
If you are using the OCI driver use:

For the thin driver use

Hope that helps.
It really is that easy. The most important thing to do is get that jar in the classpath. Then make sure you are using what is the SID, or what is the actual tnsnames entry.
Mark
 
Col Bell
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only time I've heard of the "UnsatisfiedLink" exception being thrown is when you try to use the OCI driver but the Oracle client hasn't been correctyl installed.
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a bunch of useful Oracle links posted here. You might specifically be interested in Enabling the Java Client. The "UnsatisfiedLinkError" is explained in the jdbc FAQ's.
Jamie
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Jamie, can I borrow those links to use in the Oracle Forum that I am currently moderating?
Mark
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
go ahead, that's why I post them!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic