Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to check Oracle JDBC Driver (classes12.zip) verion
lovingmononoke_at_gmail.com wrote:
> Oracle JDBC driver has been called classes12.zip.
> Is there any way that I can check what Oracle database version comes
> with the classes12.zip that I am using?
> Or is there any way that I can check the JDBC version of the
> classes12.zip that I am using?
> If so, can you tell me the command ? Many thanks!
Driver dr = new oracle.jdbc.OracleDriver(); Properties props = new Properties(); props.put("user", "joe"); props.put("password", "joe"); Connection c = dr.connect("jdbc:oracle:thin:@joe:1521:JOEDB", props); System.out.println("The driver version is " + c.getMetaData().getDriverVersion() );Received on Tue Jul 25 2006 - 13:41:23 CDT
![]() |
![]() |