OPTIONS

Java MongoDB Driver

Java Driver

Compatibility

supported. compatible. anything incompatible will be fixed: Supported
unsupported. minor incompatibilities may exist: Minor incompatibility
unsupported. incompatible: Unsupported

MongoDB Compatibility

        MongoDB Version
    2.4 2.6 3.0
  2.9 Minor incompatibility Minor incompatibility Minor incompatibility
  2.10 Minor incompatibility Minor incompatibility Minor incompatibility
  2.11 Supported Minor incompatibility Minor incompatibility
  2.12 Supported Supported Minor incompatibility
  2.13 Supported Supported Supported
Driver Version 3.0 Supported Supported Supported

Older server versions are unsupported.

Language Compatibility

          Language Version
    Java 5 Java 6 Java 7 Java 8
  2.7 Supported Supported Supported Supported
  2.8 Supported Supported Supported Supported
  2.9 Supported Supported Supported Supported
  2.10 Supported Supported Supported Supported
  2.11 Supported Supported Supported Supported
  2.12 Supported Supported Supported Supported
  2.13 Supported Supported Supported Supported
Driver Version 3.0 Unsupported Supported Supported Supported

Third Party Frameworks and Libraries

POJO Mappers

  • Morphia

    Type-Safe Wrapper with DAO/Datastore abstractions

  • Morphium

    feature rich POJO Mapper including features like declarative caching, cluster awareness, validation, partial updates supports aggregation framwork

  • Mungbean

    (w/clojure support)

  • Spring MongoDB

    Provides Spring users with a familiar data access features including rich POJO mapping.

  • DataNucleus JPA/JDO

    JPA/JDO wrapper

  • lib-mongomapper

    JavaBean Mapper (No annotations)

  • MongoJack

    Uses jackson (annotations) to map to/from POJOs and has a simple wrapper around DBCollection to simply this.

  • Kundera

    JPA compliant ORM. Works with multiple datastores.

  • MongoFS

    Enhanced file storage library with support for file compression, encryption, and Zip file expansion. Can be used on top of a GridFS-compatible bucket.

  • Jongo

    Query in Java as in mongo shell (using strings), unmarshall results into Java objects (using Jackson)

  • MongoLink

    Object Document Mapper (ODM.) Uses a plain java DSL for mapping declaration.

  • Hibernate OGM

    Provides Java Persistence support for MongoDB.

  • Morphix

    Lightweight, easy-to-use POJO mapper.

JavaScript (Rhino)

  • Horn of Mongo

    A MongoDB shell built on the Rhino JavaScript Engine for Java.

  • MongoDB-Rhino

    A toolset to provide full integration between the Rhino JavaScript engine for the JVM and MongoDB. Uses the MongoDB Java driver.