- Introduction to Spring Data MongoDB
- MongoDB: Hello World in memory application
- Installing and setup MongoDB
- MongoDB: Hello World Application
- Model Relationships
- Model relationships using embedded documents
- Model relationships via reference ids
- Exploring MongoRepository interface
- saveAll: Save collection of documents
- findAll: Get all the documents
- Sort all the documents with given properties
- insert: Insert new document
- save or update the document
- save vs insert
- Get Documents by Example
- Adding custom query methods
- Wrap the query method result as stream
- Working with MongoTemplate
- Working with Criteria object
- Querying documents on embedded fields
- Create Index
- @Transient: Exclude a field from persisting
- @Field: Customize field names
- @PersistenceConstructor: Constructor to use while instantiating
- Create Custom type converter
This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)
Sunday 24 November 2019
Spring Data MongoDB tutorial
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment