-
Notifications
You must be signed in to change notification settings - Fork 10
Home
Kais OMRI edited this page Sep 6, 2018
·
22 revisions
Use associations (references) between collections in MongoDB database.
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:
- @EnableRelMongo
- @OneToOne to process 1..1 associations
- @OneToMany to process 1..N associations
- LAZY and EAGER fetching method
- Cascading PERSIST and DELETE methods
- Bidirectional mapping using the
mappedByattribute
Quick Start Guide
Bidirectional mapping
RelMongo cascading operations
How it works
Compatibility matrix
How to use aggregations and lookups to query RelMongo based objects
© Copyright Kais OMRI under the Apache License 2.0