Configuring and connecting
- Last Updated: October 9, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- PostgreSQL 6.0
- Documentation
This section provides information on how to connect to your data store using either the JDBC Driver Manager or DataDirect JDBC data sources, as well as information on how to implement and use functionality supported by the driver.
After the driver has been installed and defined on your classpath, you can connect from your application to your data in either of the following ways.
- Using the JDBC
DriverManagerby specifying the connection URL in theDriverManager.getConnection()method. - Creating a JDBC data source that can be accessed through the Java Naming Directory Interface (JNDI).