MongoDB Persistence Using Spring Data MongoDB
This course will teach you to effectively tackle MongoDB persistence in Java applications using Spring Data MongoDB and how to use this knowledge in any Java project.
What you'll learn
In this course, MongoDB Persistence Using Spring Data MongoDB, you will learn how to implement all aspects of Mongo data persistence using the latest Spring Data MongoDB library version. First, you will learn how to connect to a Mongo database and perform CRUD operations. Next, you will discover how to make your data access layer (DAL) cleaner by using repositories. After that, you will discover how to create relationships between documents. Finally, you will dive into advanced topics such as implementing auditing, custom mappings and lifecycle events. When you finish this course, you will have the skills and knowledge to efficiently use Mongo DB in enterprise Java applications.
Table of contents
- Introduction & Version Check 3m
- Setting up the Development Environment 2m
- Fundamental MongoDB Concepts 2m
- Spring Data MongoDB Framework & MongoDB Server Compatibility Matrix 1m
- Spring Data Mongo Dependencies 2m
- Demo: Create a New Application Using Spring Boot and Spring Data MongoDB 2m
- Connection Properties 2m
- Demo: Connecting a Spring Application to a Mongo Database 2m
- Spring Data Mongo Annotations & Data Mapping 5m
- Mongo Document Deserialization 4m
- Demo: Defining Mongo Data Annotations on Java Classes 5m
- Recap 2m
- Understanding the MongoTemplate Class & MongoOperations Interface 4m
- Creating Documents 3m
- Querying Data Fundamentals 5m
- The Criteria Object 5m
- Demo: Filtering Documents 6m
- Full-text Search 6m
- Demo: Full-text Search 5m
- Updating Documents 4m
- Demo: Updating Documents 6m
- Deleting Documents 4m
- Demo: Deleting Documents 2m
- Recap 2m
- Spring Data (Mongo) Repository 8m
- Inserting New Documents 3m
- Demo: Inserting Documents 6m
- Building Repository Query Methods to Find Documents 8m
- Custom Repositories 3m
- Demo: Finding Documents 7m
- Updating Documents 6m
- Demo: Updating Documents 4m
- Deleting Documents 3m
- Demo: Deleting Documents 2m
- Recap 3m
- Mongo Document References Overview 3m
- Manual References 3m
- Demo: Implementing Manual References 3m
- DbRef 3m
- Demo: Implementing References Using @DbRef 1m
- Lifecycle Events 3m
- Demo: Implementing Cascading Using Lifecycle Events 3m
- Custom Converters 3m
- Demo: Declaring and Registering Custom Converters 2m
- Recap 1m
- Course Recap 2m