Data Source and Driver Classes
- Last Updated: February 13, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- MongoDB 6.0
- Documentation
The driver class is:
com.ddtek.jdbc.mongodb.MongoDBDriver
Two data source classes are provided with the driver. Which data source class you use depends on the JDBC functionality your application requires. The following table shows the recommended data source class to use with different JDBC specifications.
| If your application requires... | Data Source Class |
|---|---|
| JDBC 4.0 functionality and higher | com.ddtek.jdbcx.mongodb.MongoDBDataSource40 |
| JDBC 3.x functionality and earlier specifications | com.ddtek.jdbcx.mongodb.MongoDBDataSource |