skip to main content
Configuring the JDBC Client : Connecting to a Data Source
 

Connecting to a Data Source

Once the JDBC Client is installed and configured the way you want it, you can connect from your application to your data source in either of the following ways: with a connection URL through the JDBC Driver Manager or with a Java Naming Directory Interface (JNDI) data source. This quick start explains how to test your database connection using a connection URL. You can connect through the JDBC Driver Manager with the DriverManager.getConnection method, which uses a string containing a connection URL.
Use the following steps to load the drivers from your JDBC application.
In this section: 
* Setting the Classpath
* Registering the JDBC Client
* Specifying Connection URLs