skip to main content
Using the driver : Connecting from an Application : Data Source and Driver Classes
  

Try DataDirect Drivers Now

Data Source and Driver Classes

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.
Table 7. Choosing a Data Source Class
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