File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -3060,6 +3060,16 @@ Hibernate autoconfig is active because the `ddl-auto` settings are more fine-gra
30603060
30613061
30623062
3063+ [[boot-features-jpa-in-web-environment]]
3064+ ==== Open EntityManager in View
3065+ If you are running a web application, Spring Boot will by default register
3066+ {spring-javadoc}/orm/jpa/support/OpenEntityManagerInViewInterceptor.html[`OpenEntityManagerInViewInterceptor`]
3067+ to apply the "Open EntityManager in View" pattern, i.e. to allow for lazy loading in web
3068+ views. If you don't want this behavior you should set `spring.jpa.open-in-view` to
3069+ `false` in your `application.properties`.
3070+
3071+
3072+
30633073[[boot-features-sql-h2-console]]
30643074=== Using H2's web console
30653075The http://www.h2database.com[H2 database] provides a
You can’t perform that action at this time.
0 commit comments