Commit cf2577d7 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #12342 from Cristian Greco

* gh-12342:
  Fix link to Spring Data JPA in docs
parents f918e0eb b552842b
...@@ -3511,10 +3511,10 @@ how-to. ...@@ -3511,10 +3511,10 @@ how-to.
[[boot-features-spring-data-jpa-repositories]] [[boot-features-spring-data-jpa-repositories]]
==== Spring Data JPA Repositories ==== Spring Data JPA Repositories
{http://projects.spring.io/spring-data-jpa/}[Spring Data JPA] repositories are interfaces {spring-data-jpa}[Spring Data JPA] repositories are interfaces that you can define to
that you can define to access data. JPA queries are created automatically from your method access data. JPA queries are created automatically from your method names. For example, a
names. For example, a `CityRepository` interface might declare a `findAllByState(String `CityRepository` interface might declare a `findAllByState(String state)` method to find
state)` method to find all the cities in a given state. all the cities in a given state.
For more complex queries, you can annotate your method with Spring Data's For more complex queries, you can annotate your method with Spring Data's
{spring-data-javadoc}/repository/Query.html[`Query`] annotation. {spring-data-javadoc}/repository/Query.html[`Query`] annotation.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment