diff --git a/src/docs/asciidoc/web/webmvc.adoc b/src/docs/asciidoc/web/webmvc.adoc index eb0c45bdeb..86a9afdde3 100644 --- a/src/docs/asciidoc/web/webmvc.adoc +++ b/src/docs/asciidoc/web/webmvc.adoc @@ -1440,8 +1440,10 @@ controller. When this is the case, for controllers specifically, we recommend using class-based proxying. This is typically the default choice with controllers. However, if a controller must implement an interface that is not a Spring Context callback (such as `InitializingBean`, `*Aware`, and others), you may need to explicitly -configure class-based proxying. For example, with ``, you can -change to ``. +configure class-based proxying. For example, with `` you can +change to ``, and with +`@EnableTransactionManagement` you can change to +`@EnableTransactionManagement(proxyTargetClass = true)`.