17 Working with Spring Data MongoDB
This chapter covers
- Introducing MongoDB
- Examining Spring Data MongoDB
- Accessing a database with MongoRepository
- Accessing a database with MongoTemplate
Document-oriented databases are one type of NoSQL database, where the information is kept as a key/value store. MongoDB is such a database program. Spring Data MongoDB, as part of the larger Spring Data umbrella project, facilitates the interaction of Java programs with MongoDB document databases.
17.1 Introducing MongoDB
MongoDB is an open source, document-oriented NoSQL database. MongoDB uses JSON-like documents to store the information, and it uses the concepts of databases, collections, and documents.
-
Database—A database represents a container for collections. ...
Get Java Persistence with Spring Data and Hibernate now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.