[bs-178] Use OpenEntityManagerInView by default in webapp with JPA

If JPA is used and the context is a webapp we add the OEMIV interceptor.
It can be switched off by the user declaring a bean of type OEMSIVI or
the corresponding Filter, or by setting spring.jpa.open_in_view=false.

[Fixes #52939983]
This commit is contained in:
Dave Syer
2013-07-11 18:11:47 +01:00
parent 5b2986d7a9
commit 6dbd6d7c4c
5 changed files with 115 additions and 30 deletions

View File

@@ -99,6 +99,11 @@
<artifactId>jcl-over-slf4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>