Class JpaBaseConfiguration.JpaWebConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.JpaWebConfiguration
- Enclosing class:
- JpaBaseConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass(org.springframework.web.servlet.config.annotation.WebMvcConfigurer.class)
@ConditionalOnMissingBean({org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor.class,org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.class})
@ConditionalOnMissingFilterBean(org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.class)
@ConditionalOnProperty(prefix="spring.jpa",
name="open-in-view",
havingValue="true",
matchIfMissing=true)
protected static class JpaBaseConfiguration.JpaWebConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
JpaWebConfiguration
-
-
Method Details
-
openEntityManagerInViewInterceptor
-
openEntityManagerInViewInterceptorConfigurer
@Bean public WebMvcConfigurer openEntityManagerInViewInterceptorConfigurer(OpenEntityManagerInViewInterceptor interceptor)
-