Skip to content
Kais OMRI edited this page Jun 29, 2018 · 22 revisions

Use associations (references) between collections in MongoDB database.


Presentation

RelMongo is a framework built in top of Spring Data MongoDB which allows to use associations between collection like Java Persistence API for relational databases. The framework supports three main annotations:

  • @EnableRelationalMongo
  • @OneToOne
  • @OneToMany

Wiki contents

Quick Start
How it works
Compatibility matrix
How to use aggregations and lookups to query RelMongo based objects

Clone this wiki locally