Avatar of piou
Flag for Greece

asked on 

JDBC & JDeveloper

After the failure of a test application, connecting to a remote Oracle database, I am trying to locate the portion of the Java source (generated by JDeveloper 9) that loads the driver and connects to the database. I can find nothing. Is there such code, or does JDev do a lot of hidden work?

I am asking because I also try to connect "manually", and the following line of code throws a NoClassDef... exception.

DriverManager.getConnection("jdbc:oracle:thin:@xxx.xxx.xxx.xxx1521:EKKE8", user, pass);

I am using 1.4.0 and I use ojdbc14_g.jar from Oracle.


Avatar of undefined
Last Comment

8/22/2022 - Mon