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 JPA 4.1.1
      • Overview
        • Upgrading Spring Data
      • JPA
        • Getting Started
        • Core concepts
        • Defining Repository Interfaces
        • Configuration
        • Persisting Entities
        • Defining Query Methods
        • JPA Query Methods
        • Value Expressions Fundamentals
        • Projections
        • Stored Procedures
        • Specifications
        • Query by Example
        • Vector Search
        • Transactionality
        • Locking
        • Auditing
        • Merging persistence units
        • CDI Integration
        • Custom Repository Implementations
        • Publishing Events from Aggregate Roots
        • Null Handling of Repository Methods
        • Spring Data Extensions
        • Repository query keywords
        • Repository query return types
        • Ahead of Time Optimizations
        • Frequently Asked Questions
        • Glossary
      • Envers
        • Introduction
        • Configuration
        • Usage
      • Javadoc
      • Wiki
    Edit this Page GitHub Project Stack Overflow
    • Spring Data JPA
    • JPA

    JPA

    This chapter points out the specialties for repository support for JPA. Before continuing to the JPA specifics, make sure you have a sound understanding of the basic concepts explained in Working with Spring Data Repositories.

    The goal of the Spring Data repository abstraction is to significantly reduce the amount of boilerplate code required to implement data access layers for various persistence stores.

    Section Summary

    • Getting Started
    • Core concepts
    • Defining Repository Interfaces
    • Configuration
    • Persisting Entities
    • Defining Query Methods
    • JPA Query Methods
    • Value Expressions Fundamentals
    • Projections
    • Stored Procedures
    • Specifications
    • Query by Example
    • Vector Search
    • Transactionality
    • Locking
    • Auditing
    • Merging persistence units
    • CDI Integration
    • Custom Repository Implementations
    • Publishing Events from Aggregate Roots
    • Null Handling of Repository Methods
    • Spring Data Extensions
    • Repository query keywords
    • Repository query return types
    • Ahead of Time Optimizations
    • Frequently Asked Questions
    • Glossary
    • 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 JPA
      • 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