DATAJPA-218 - Tweaked reference documentation on Query by Example.

Fixed section anchors to match convention. Added level offsets to adapt to changes in Spring Data Commons.
This commit is contained in:
Oliver Gierke
2016-03-18 09:24:23 +01:00
parent 14616b0966
commit 9e39adaf61
2 changed files with 4 additions and 4 deletions

View File

@@ -604,8 +604,8 @@ List<Customer> customers = customerRepository.findAll(
As you can see, `Specifications` offers some glue-code methods to chain and combine `Specification` instances. Thus extending your data access layer is just a matter of creating new `Specification` implementations and combining them with ones already existing.
====
include::{spring-data-commons-docs}/query-by-example.adoc[]
include::query-by-example.adoc[]
include::{spring-data-commons-docs}/query-by-example.adoc[leveloffset=+1]
include::query-by-example.adoc[leveloffset=+1]
[[transactions]]
== Transactionality

View File

@@ -1,5 +1,5 @@
[[query.by.example.execution]]
== Executing Example
[[query-by-example.execution]]
== Executing an example
In Spring Data JPA you can use Query by Example with Repositories.