Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Which JDBC Driver is my application using..

Status
Not open for further replies.

patnim17

Programmer
Jun 19, 2005
111
0
0
US
Hello,
My Application is deployed as a EAR file, that combines EJB projects, Web modules etc, into one EAR application. We have the Oracle classes12.zip file also that gets packaged as part of the ear file.
Also in the Weblogic (Our web application server) server start-up scripts, the classpath inlcudes the location of Oracle lib folder, that has ojdbc92 and other oracle jdbc jar files..

I am not sure which JDBC Driver is my application using. Is there a way to find out that?

Thanks
pat
 
Connection c ...
DatabaseMetaData conMD = c.getMetaData();
System.out.println("JDBC Driver Name:\t" + conMD.getDriverName());
System.out.println("JDBC Driver Version:\t" + conMD.getDriverVersion());

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top