Skip to content
Kais OMRI edited this page Jul 9, 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 enables the following features:

  • @EnableRelationalMongo
  • @OneToOne to process 1..1 associations
  • @OneToMany to process 1..N associations
  • LAZY and EAGER fetching method
  • cascading PERSIST and DELETE methods

Wiki contents

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

Clone this wiki locally