Spring
Why Spring
Overview
  • Trending
  • Generative AI Cloud
  • Architecture Patterns
  • Microservices Reactive Event Driven
  • Application Types
  • Web Applications Serverless Batch
    Learn
  • Getting Started
  • Quickstart Guides
  • Academy
  • Courses Get Certified
    Projects
    Overview
  • Projects
  • Spring Boot Spring Framework Spring Cloud Spring AI Spring Data Spring Integration Spring Batch Spring Security
  • Foundational Projects
  • Micrometer Reactor
  • Development Tools
  • Spring Tools Spring Initializr
    Resources
    Blog Release Calendar Version Mappings Release Highlights Security Advisories
  • GitHub Orgs
  • Spring Projects Spring Cloud
    Community
    Overview Events Authors
    Enterprise
    Overview Long-term Support Automated Upgrades Governance and Compliance Modern App Development
    Spring Data Relational 4.0.7
      • Overview
        • Upgrading Spring Data
      • Introduction
        • Core concepts
        • Defining Repository Interfaces
        • Creating Repository Instances
        • Defining Query Methods
        • Projections
        • Object Mapping Fundamentals
        • Custom Conversions
        • Custom Repository Implementations
        • Spring Data Extensions
        • Value Expressions Fundamentals
        • Query by Example
        • Publishing Events from Aggregate Roots
        • Entity Callbacks
        • Null Handling of Repository Methods
        • Repository query keywords
        • Repository query return types
      • JDBC
        • Why Spring Data JDBC?
        • Domain Driven Design and Relational Databases
        • Getting Started
        • Persisting Entities
        • Sequence Support
        • Mapping
        • Query Methods
        • MyBatis Integration
        • Lifecycle Events
        • Auditing
        • Transactionality
        • Schema Creation
        • Ahead of Time Optimizations
      • R2DBC
        • Getting Started
        • Persisting Entities
        • Sequence Support
        • Mapping
        • R2DBC Repositories
        • Query Methods
        • EntityCallbacks
        • Auditing
        • Kotlin
        • Migration Guide
      • Kotlin Support
        • Requirements
        • Null Safety
        • Object Mapping
        • Extensions
        • Coroutines
      • Javadoc
      • Wiki
    Edit this Page GitHub Project Stack Overflow
    • Spring Data Relational
    • Kotlin Support
    • Object Mapping

    For the latest stable version, please use Spring Data Relational 4.1.1!

    Object Mapping

    See Kotlin support for details on how Kotlin objects are materialized.

    • Spring Data Commons
      • 4.1.1
      • 4.0.7
      • 3.5.13
      • 4.2.0-M2
      • 4.2.0-SNAPSHOT
      • 4.1.2-SNAPSHOT
      • 4.0.8-SNAPSHOT
      • 3.5.14-SNAPSHOT
    • Spring Data Relational
      • 4.1.1
      • 4.0.7
      • 3.5.13
      • 4.2.0-M2
      • 4.2.0-SNAPSHOT
      • 4.1.2-SNAPSHOT
      • 4.0.8-SNAPSHOT
      • 3.5.14-SNAPSHOT
    • 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

    Copyright © 2005 - Broadcom. All Rights Reserved. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
    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