https://github.com/mongodb-developer/aerodata
Sample source code to accompany "Single-Collection Designs with Spring Data" article
https://github.com/mongodb-developer/aerodata
Last synced: 6 months ago
JSON representation
Sample source code to accompany "Single-Collection Designs with Spring Data" article
- Host: GitHub
- URL: https://github.com/mongodb-developer/aerodata
- Owner: mongodb-developer
- License: apache-2.0
- Created: 2022-09-22T17:34:29.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-23T04:59:54.000Z (about 3 years ago)
- Last Synced: 2025-04-12T16:18:22.244Z (8 months ago)
- Language: Java
- Size: 19.5 KB
- Stars: 2
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aerodata
Sample source code to accompany "Single-Collection Designs with Spring Data" article
This sample project uses Spring Data to write and retrieve multiple POJO object types to a single collection within MongoDB.
This design pattern can be useful to avoid joins across collections and / or extensive embedding of documents within a single collection.