Skip to content

Commit 60fa9bd

Browse files
committed
Merge branch '3.2.x' into 3.3.x
Closes gh-41627
2 parents 98ee3f2 + 1a8e9c1 commit 60fa9bd

File tree

1 file changed

+3
-3
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/data-access.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,14 @@ Note that each `configuration` sub namespace provides advanced settings based on
153153
[[howto.data-access.spring-data-repositories]]
154154
== Use Spring Data Repositories
155155

156-
Spring Data can create implementations of `@Repository` interfaces of various flavors.
157-
Spring Boot handles all of that for you, as long as those `@Repository` annotations are included in one of the xref:reference:using/auto-configuration.adoc#using.auto-configuration.packages[auto-configuration packages], typically the package (or a sub-package) of your main application class that is annotated with `@SpringBootApplication` or `@EnableAutoConfiguration`.
156+
Spring Data can create implementations of `Repository` interfaces of various flavors.
157+
Spring Boot handles all of that for you, as long as those `Repository` implementations are included in one of the xref:reference:using/auto-configuration.adoc#using.auto-configuration.packages[auto-configuration packages], typically the package (or a sub-package) of your main application class that is annotated with `@SpringBootApplication` or `@EnableAutoConfiguration`.
158158

159159
For many applications, all you need is to put the right Spring Data dependencies on your classpath.
160160
There is a `spring-boot-starter-data-jpa` for JPA, `spring-boot-starter-data-mongodb` for Mongodb, and various other starters for supported technologies.
161161
To get started, create some repository interfaces to handle your `@Entity` objects.
162162

163-
Spring Boot determines the location of your `@Repository` definitions by scanning the xref:reference:using/auto-configuration.adoc#using.auto-configuration.packages[auto-configuration packages].
163+
Spring Boot determines the location of your `Repository` implementations by scanning the xref:reference:using/auto-configuration.adoc#using.auto-configuration.packages[auto-configuration packages].
164164
For more control, use the `@Enable…Repositories` annotations from Spring Data.
165165

166166
For more about Spring Data, see the {url-spring-data-site}[Spring Data project page].

0 commit comments

Comments
 (0)