The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Courses ▼▲
    • REST with Spring

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security ▼▲

      THE unique Spring Security education if you’re working with Java today

      • Learn Spring Security Core

        Focus on the Core of Spring Security 5

      • Learn Spring Security OAuth

        Focus on the new OAuth2 stack in Spring Security 5

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

  • Guides ▼▲
    • Persistence

      The Persistence with Spring guides

    • REST

      The guides on building REST APIs with Spring

    • Security

      The Spring Security guides

  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

Category upPersistence

NoSQL » Mongodb

NoSQL databases store data differently than traditional relational table-based databases. Learn about MongoDB, Cassandra, Redis, Elasticsearch, and other popular NoSQL persistence solutions.

  • x Mongodb (51)
  • Cassandra (23)
  • Redis (12)
  • Couchbase (10)
  • Elasticsearch (10)
  • Lucene (5)
  • Datastax (3)
  • DynamoDB (3)

>> Add Field to an Existing MongoDB Bson Filter in Java

>> MongoDB vs. Couchbase

>> Persisting the Query Model

>> Generate Unique ObjectId in MongoDB

>> Guide to Filters in MongoDB

>> How to Insert a HashMap Into MongoDB With Java?

>> Insert Array Inside an Object in MongoDB

>> Connect to Multiple Databases Using Spring Data MongoDB

>> Query Documents using Document ID in MongoDB

>> Using Dates in CRUD Operations in MongoDB

>> Unique Field in MongoDB Document in Spring Data

>> Guide to Find in MongoDB

>> Configure MongoDB Collection Name for a Class in Spring Data

>> Checking Connection to MongoDB

>> Return Only Specific Fields for a Query in Spring Data MongoDB

>> Retrieve a Value from MongoDB by Its Key Name

>> Bulk Update of Documents in MongoDB

>> Guide to Upsert in MongoDB

>> Logging MongoDB Queries with Spring Boot

>> Import Data to MongoDB From JSON File Using Java

>> Push Operations in MongoDB

>> Push and Set Operations in Same MongoDB Update

>> Case Insensitive Sorting in MongoDB

>> Authentication With Spring Security and MongoDB

>> Check Collection Existence in MongoDB

>> Update Documents in MongoDB

>> Update Multiple Fields in a MongoDB Document

>> Get Last Inserted Document ID in MongoDB With Java Driver

>> How to Check Field Existence in MongoDB?

>> Redis vs MongoDB

>> BSON to JSON Document Conversion in Java

>> MongoDB Aggregations Using Java

>> Introduction to Morphia – Java ODM for MongoDB

>> Upload and Retrieve Files Using MongoDB and Spring Boot

>> Spring Session with MongoDB

>> Geospatial Support in MongoDB

>> MongoDB BSON Guide

>> Auto-Generated Field for MongoDB using Spring Boot

>> ZonedDateTime with Spring Data MongoDB

>> Spring Data MongoDB Transactions

>> Spring Boot Integration Testing with Embedded MongoDB

>> Spring Data Reactive Repositories with MongoDB

>> A Simple Tagging Implementation with MongoDB

>> Spring Data MongoDB: Projections and Aggregations

>> A Guide to MongoDB with Java

>> Spring Data MongoDB Tutorial

>> GridFS in Spring Data MongoDB

>> Custom Cascading in Spring Data MongoDB

>> Spring Data MongoDB – Indexes, Annotations and Converters

>> A Guide to Queries in Spring Data MongoDB

>> Introduction to Spring Data MongoDB

  • ↑ Back to Top
res – REST with Spring (eBook) (everywhere)
opt-in
Building a REST API with Spring 5?
Download the E-book
The Baeldung logo

Courses

  • All Courses
  • All Bulk Courses
  • All Bulk Team Courses
  • The Courses Platform

Series

  • Java “Back to Basics” Tutorial
  • Jackson JSON Tutorial
  • Apache HttpClient Tutorial
  • REST with Spring Tutorial
  • Spring Persistence Tutorial
  • Security with Spring
  • Spring Reactive Tutorials

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Jobs
  • Our Partners
  • Partner with Baeldung
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo