Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to check Oracle JDBC Driver (classes12.zip) verion

Re: How to check Oracle JDBC Driver (classes12.zip) verion

From: <joeNOSPAM_at_BEA.com>
Date: 26 Jul 2006 10:10:46 -0700
Message-ID: <1153933846.084633.101120@s13g2000cwa.googlegroups.com>

    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() );

Joe Weinstein at BEA Systems Received on Wed Jul 26 2006 - 12:10:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US