Tuesday, November 29, 2011

how can we connect database in java without using the Class.forname() method with our application?

import java.sql.*; :1>For that System class has a setProperty("oracle.jdbc.driver.OracleDriver")method that will load that driver class and that use the DriverManager to get the connection.
Category:JDBC Interview Questions

No comments:

Post a Comment