1 |
Implementation:
-
A new instance of the SQL driver is created.
-
Syntax: java.sql.Driver d = (java.sql.Driver)Class.forName("weblogic.jdbc.oci.Driver").newInstance();
-
A connection to the Oracle server is opened by supplying the user's name, password and the machine to connect to.
-
Syntax: Connection conn = DriverManager.getConnection("jdbc:weblogic:oracle:kayak", "username", "password");
|