Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: JDBC and class.ForName
is the option to use register instead of class.forname oracle specific? all the non-oracle docs say i need to use class.forname?
-------------- Original message --------------
> class.ForName is to register the JDBC Driver.
>
> Either you can use class.ForName("Driver")
>
> OR
> you can use registerDriver method from DriverManager class as below..
> DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
>
> HTH
> Sami
>
>
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Feb 16 2005 - 10:23:29 CST