Spring Data MongoDB
The Spring Data MongoDB provides integration with our domain objects and the MongoDB document. With a couple of annotations, our entity class is ready to be persisted in the database. The mapping is based on a POJO (Plain Old Java Object) pattern, which is known by all Java developers.
There are two levels of abstraction supplied by the module. The first one is a high-level abstraction. It increases the developer productivity. This level provides a couple of annotations to instruct the framework to convert the domain objects in MongoDB documents and vice versa. The developer does not need to write any code about the persistence; it will be managed by the Spring Data MongoDB framework. There are more exciting things at ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access