Spring
Why Spring
Overview Microservices Reactive Event Driven Cloud Web Applications Serverless Batch
Learn
Overview Quickstart Guides Blog
Projects
Overview Spring Boot Spring Framework Spring Cloud Spring Cloud Data Flow Spring Data Spring Integration Spring Batch Spring Security View all projects Spring Tools 4 Spring Initializr
Academy
Courses Get Certified
Solutions
Overview Spring Runtime Spring Consulting Spring Academy For Teams Security Advisories
Community
Overview Events Team
Spring Data MongoDB 4.2.5
    • Overview
      • Upgrading Spring Data
      • Migration Guides
        • Migration Guide from 2.x to 3.x
        • Migration Guide from 3.x to 4.x
    • MongoDB Support
      • Requirements
      • Getting Started
      • Connecting to MongoDB
      • Template API
        • Configuration
        • Index and Collection Management
        • Saving, Updating, and Removing Documents
        • Querying Documents
        • Counting Documents
        • Aggregation Framework Support
      • GridFS Support
      • Object Mapping
        • JSON Schema
        • Type based Converter
        • Property Converters
        • Unwrapping Types
        • Object References
        • Index Creation
      • Lifecycle Events
      • Auditing
      • Sessions & Transactions
      • Change Streams
      • Tailable Cursors
      • Sharding
      • Encryption (CSFLE)
    • Repositories
      • Core concepts
      • Defining Repository Interfaces
      • MongoDB Repositories
      • Creating Repository Instances
      • Defining Query Methods
      • MongoDB-specific Query Methods
      • MongoDB-specific Data Manipulation Methods
      • Projections
      • Custom Repository Implementations
      • Publishing Events from Aggregate Roots
      • Null Handling of Repository Methods
      • CDI Integration
      • Repository query keywords
      • Repository query return types
    • Observability
      • Conventions
      • Metrics
      • Spans
    • Kotlin Support
      • Requirements
      • Null Safety
      • Extensions
      • Coroutines
Edit this Page GitHub Project Stack Overflow
  • Spring Data MongoDB
  • Overview
  • Migration Guides

Migration Guides

This section contains version-specific migration guides explaining how to upgrade between two versions.

Section Summary

  • Migration Guide from 2.x to 3.x
  • Migration Guide from 3.x to 4.x
  • Spring Data Commons
    • 3.3.0-SNAPSHOT
    • 3.3.0-RC1
    • 3.2.6-SNAPSHOT
    • 3.2.5current
  • Spring Data MongoDB
    • 4.3.0-SNAPSHOT
    • 4.3.0-RC1
    • 4.2.6-SNAPSHOT
    • 4.2.5current
  • Related Spring Documentation
    • Spring Framework
    • Spring Data
      • Spring Data Cassandra
      • Spring Data Commons
      • Spring Data Couchbase
      • Spring Data Elasticsearch
      • Spring Data JPA
      • Spring Data KeyValue
      • Spring Data LDAP
      • Spring Data MongoDB
      • Spring Data Neo4j
      • Spring Data Redis
      • Spring Data JDBC & R2DBC
      • Spring Data REST
    • Spring GraphQL
  • All Docs...
Spring

© VMware, Inc. or its affiliates. Terms of Use • Privacy • Trademark Guidelines • Thank you • Your California Privacy Rights • Cookie Settings

Apache®, Apache Tomcat®, Apache Kafka®, Apache Cassandra™, and Apache Geode™ are trademarks or registered trademarks of the Apache Software Foundation in the United States and/or other countries. Java™, Java™ SE, Java™ EE, and OpenJDK™ are trademarks of Oracle and/or its affiliates. Kubernetes® is a registered trademark of the Linux Foundation in the United States and other countries. Linux® is the registered trademark of Linus Torvalds in the United States and other countries. Windows® and Microsoft® Azure are registered trademarks of Microsoft Corporation. “AWS” and “Amazon Web Services” are trademarks or registered trademarks of Amazon.com Inc. or its affiliates. All other trademarks and copyrights are property of their respective owners and are only mentioned for informative purposes. Other names may be trademarks of their respective owners.

Search in all Spring Docs