Spring Data JPA - Reference Documentation

Authors

Oliver Gierke

1.3.0.RELEASE

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.


Table of Contents

Preface
1. Project metadata
I. Reference Documentation
1. Repositories
1.1. Introduction
1.2. Core concepts
1.3. Query methods
1.3.1. Defining repository interfaces
Fine tuning repository definition
1.3.2. Defining query methods
Query lookup strategies
Query creation
Special parameter handling
1.3.3. Creating repository instances
XML Configuration
JavaConfig
Standalone usage
1.4. Custom implementations
1.4.1. Adding behaviour to single repositories
1.4.2. Adding custom behaviour to all repositories
1.5. Extensions
1.5.1. Domain class web binding for Spring MVC
1.5.2. Web pagination
1.5.3. Repository populators
2. JPA Repositories
2.1. Introduction
2.1.1. Spring namespace
2.1.2. Annotation based configuration
2.2. Query methods
2.2.1. Query lookup strategies
2.2.2. Query creation
2.2.3. Using JPA NamedQueries
2.2.4. Using @Query
2.2.5. Using named parameters
2.2.6. Modifying queries
2.2.7. Applying query hints
2.3. Specifications
2.4. Transactionality
2.4.1. Transactional query methods
2.5. Locking
2.6. Auditing
2.6.1. Basics
Annotation based auditing metadata
Interface-based auditing metadata
AuditorAware
2.6.2. General auditing configuration
2.7. Miscellaneous
2.7.1. Merging persistence units
2.7.2. Classpath scanning for @Entity classes and JPA mapping files
2.7.3. CDI integration
II. Appendix
A. Namespace reference
A.1. The <repositories /> element
B. Repository query keywords
B.1. Supported query keywords
C. Frequently asked questions
Glossary