JDBC Driver for MongoDB

Build 22.0.8462

Getting Started

Connecting to MongoDB

Establishing a Connection shows how to authenticate to MongoDB and configure any necessary connection properties in a JDBC URL. You can also configure driver capabilities through the available Connection properties, from data modeling to firewall traversal. The Advanced Settings section shows how to set up more advanced configurations and troubleshoot connection errors.

Connecting to JDBC Data Sources

The CData JDBC Driver for MongoDB provides full support for integration into Java applications, including Eclipse, NetBeans, IntelliJ IDEA, and many other Integrated Development Environments, as well as J2EE applications running on a Java server such as Tomcat. You can find JSP, console, and swing demos in the installation folder.

Java Version Support

To deploy the driver JAR file, you must have Java Development Kit (JDK) 1.8 or higher installed on your system.

MongoDB Version Support

The driver models MongoDB instances as relational databases and supports MongoDB versions 2.6 through 5.0. The driver leverages the MongoDB API, including the MongoDB aggregation framework, to enable bidirectional SQL access to MongoDB data. See the NoSQL Database chapter for SQL-to-MongoDB query mappings and more information about accessing unstructured data in MongoDB through SQL. See the DBaaS Connections page to connect to popular services such as Atlas and ObjectRocket.

See Also

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462