Commit 49b8d8c4 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

See gh-8698
parent c6182d51
...@@ -1291,7 +1291,7 @@ modules when you add new features to your application. ...@@ -1291,7 +1291,7 @@ modules when you add new features to your application.
If you want to replace the default `ObjectMapper` completely, either define a `@Bean` of If you want to replace the default `ObjectMapper` completely, either define a `@Bean` of
that type and mark it as `@Primary`, or, if you prefer the builder-based that type and mark it as `@Primary`, or, if you prefer the builder-based
approach, define a `Jackson2ObjectMapperBuilder` `@Bean`. Note that in either case this approach, define a `Jackson2ObjectMapperBuilder` `@Bean`. Note that in either case this
will disable all auto-configuration of the `ObjectMapper. will disable all auto-configuration of the `ObjectMapper`.
If you provide any `@Beans` of type `MappingJackson2HttpMessageConverter` then If you provide any `@Beans` of type `MappingJackson2HttpMessageConverter` then
they will replace the default value in the MVC configuration. Also, a convenience bean is they will replace the default value in the MVC configuration. Also, a convenience bean is
...@@ -1777,7 +1777,7 @@ translation for you, you can configure it like this: ...@@ -1777,7 +1777,7 @@ translation for you, you can configure it like this:
NOTE: Because your custom configuration chooses to go with Hikari, `app.datasource.type` NOTE: Because your custom configuration chooses to go with Hikari, `app.datasource.type`
will have no effect. In practice the builder will be initialized with whatever value you will have no effect. In practice the builder will be initialized with whatever value you
might set there and then overridden by the call to `.type()``. might set there and then overridden by the call to `.type()`.
See _<<spring-boot-features.adoc#boot-features-configure-datasource>>_ in the See _<<spring-boot-features.adoc#boot-features-configure-datasource>>_ in the
'`Spring Boot features`' section and the '`Spring Boot features`' section and the
......
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