please define productname in your docbook file!
Spring Data JPA -
Reference Documentation ii
Table of Contents
................................................................................................................................................. iv
I. Preface ................................................................................................................................... 1
Project metadata ................................................................................................................ ii
1. Working with Spring Data Repositories ............................................................................ 3
1.1. Core concepts ..................................................................................................... 3
1.2. Query methods ................................................................................................... 4
1.3. Defining repository interfaces ............................................................................... 5
Fine-tuning repository definition ........................................................................... 5
1.4. Defining query methods ....................................................................................... 6
Query lookup strategies ...................................................................................... 6
Query creation ................................................................................................... 7
Property expressions .......................................................................................... 8
Special parameter handling ................................................................................ 8
Limiting query results ......................................................................................... 9
1.5. Creating repository instances ............................................................................... 9
XML configuration ............................................................................................ 10
Using filters .............................................................................................. 10
JavaConfig ....................................................................................................... 10
Standalone usage ............................................................................................ 11
1.6. Custom implementations for Spring Data repositories ........................................... 11
Adding custom behavior to single repositories .................................................... 11
Configuration ............................................................................................ 12
Adding custom behavior to all repositories ......................................................... 12
1.7. Spring Data extensions ...................................................................................... 14
Web support .................................................................................................... 14
Basic web support .................................................................................... 15
Hypermedia support for Pageables ............................................................ 17
Repository populators ....................................................................................... 18
Legacy web support ......................................................................................... 19
Domain class web binding for Spring MVC ................................................ 19
Web pagination ........................................................................................ 21
II. Reference Documentation ..................................................................................................... 24
2. JPA Repositories .......................................................................................................... 25
2.1. Introduction ....................................................................................................... 25
Spring namespace ............................................................................................ 25
Custom namespace attributes ................................................................... 25
Annotation based configuration ......................................................................... 26
2.2. Persisting entities .............................................................................................. 27
Saving entities .................................................................................................. 27
Entity state detection strategies ................................................................. 27
2.3. Query methods .................................................................................................. 27
Query lookup strategies .................................................................................... 27
Declared queries ...................................................................................... 27
Query creation ................................................................................................. 28
Using JPA NamedQueries ................................................................................ 29
XML named query definition ..................................................................... 30
Annotation configuration ........................................................................... 30
评论0
最新资源