Morphia

The JVM Object Document Mapper for MongoDB

Latest documentation Source Code

Features

Java to Document Mapping
Transparently map your Java entities to MongoDB documents and back.
Extensible Type Conversion
Easily add support for custom types
Fluent Query and Update APIs
Aggregation Support
Use MongoDB's aggregation framework with your application's Java classes.
Geospatial Queries

Quick Start

The recommended way to get started using Morphia in your project is with a dependency management system. Select the version and dependency management system below and the snippet can be copied and pasted into your build.

Alternatively, head over to our documentation to learn more about getting started with Morphia.


      <dependencies>
          <dependency>
              <groupId>dev.morphia.morphia</groupId>
              <artifactId>core</artifactId>
              <version>1.5.4</version>
          </dependency>
      </dependencies>

      

Releases

ReleaseDocumentation
1.5.4 Reference | API
1.4.1 Reference | API
1.3.2 Reference | API
2.0.0-SNAPSHOT Reference | API