> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/iv.-spring-boot-features/29.-working-with-sql-databases/29.3.-jpa-and-spring-data/29.3.4.-open-entitymanager-in-view.md).

# 29.3.4. 在视图中打开实体管理器

如果你正在运行网络应用，Spring Boot将会默认地注册`OpenEntityManagerInViewInterceptor`来应用“在视图中打开实体管理器”模式。也就是，允许延迟加载网络视图。如果你不需要这个行为，你应该在你的`application.properties`中把`spring.jpa.open-in-view`设置为`false`。
