Merge branch '1.5.x'

This commit is contained in:
Andy Wilkinson
2017-01-16 04:01:03 -05:00
3 changed files with 133 additions and 2 deletions

View File

@@ -3054,6 +3054,16 @@ Hibernate autoconfig is active because the `ddl-auto` settings are more fine-gra
[[boot-features-jpa-in-web-environment]]
==== Open EntityManager in View
If you are running a web application, Spring Boot will by default register
{spring-javadoc}/orm/jpa/support/OpenEntityManagerInViewInterceptor.html[`OpenEntityManagerInViewInterceptor`]
to apply the "Open EntityManager in View" pattern, i.e. to allow for lazy loading in web
views. If you don't want this behavior you should set `spring.jpa.open-in-view` to
`false` in your `application.properties`.
[[boot-features-sql-h2-console]]
=== Using H2's web console
The http://www.h2database.com[H2 database] provides a