skip to main content
Quick Start: Progress DataDirect for JDBC for Oracle Driver : Connecting to a DataSource : Connecting using the DriverManager
  

Try DataDirect Drivers Now

Connecting using the DriverManager

One way to connect to an Oracle database is through the JDBC DriverManager using the DriverManager.getConnection() method. As the following example shows, this method specifies a string containing a connection URL.
jdbc:datadirect:oracle://server3:1521;SID=ORCL;User=test;Password=secret
* Passing the connection URL
* Testing a DriverManager Connection