|
Create an OracleDataSource instance.Open a connection to the database using OracleDataSource.getConnection()
method of the JDBC DriverManager class.The properties of the connection are derived from the OracleDataSource
instance. This method returns an objectof the JDBC Connection class that needs input such as user name, password, connect string which identifies the JDBC driver to use, and name of the database to be connected.
|