mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polish
This commit is contained in:
parent
96a031cf20
commit
0c3911162b
@ -1065,7 +1065,7 @@ JDBC or JPA (then that one will be picked up by any `@Autowired` injections).
|
||||
[[howto-use-spring-data-repositories]]
|
||||
=== Use Spring Data repositories
|
||||
Spring Data can create implementations for you of `@Repository` interfaces of various
|
||||
flavours. Spring Boot will handle all of that for you as long as those `@Repositories`
|
||||
flavors. Spring Boot will handle all of that for you as long as those `@Repositories`
|
||||
are included in the same package (or a sub-package) of your `@EnableAutoConfiguration`
|
||||
class.
|
||||
|
||||
|
@ -50,6 +50,7 @@ use `@..@` placeholders (you can override that with a Maven property
|
||||
`resource.delimiter`).
|
||||
|
||||
|
||||
|
||||
[[using-boot-maven-parent-pom]]
|
||||
==== Inheriting the starter parent
|
||||
To configure your project to inherit from the `spring-boot-starter-parent` simply set
|
||||
@ -547,6 +548,8 @@ required `RiskAssessor` bean.
|
||||
TIP: Notice how using constructor injection allows the `riskAssessor` field to be marked
|
||||
as `final`, indicating that it cannot be subsequently changed.
|
||||
|
||||
|
||||
|
||||
[[using-boot-running-your-application]]
|
||||
== Running your application
|
||||
One of the biggest advantages of packaging your application as jar and using an embedded
|
||||
|
Loading…
Reference in New Issue
Block a user