Spring-如何在我的应用程序中为多个entityManager配置OpenEntityManagerInViewInterceptor?
这就是我已经为它配置它的方式..
<bean class="org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor">
<property name="entityManagerFactory" ref="entityManagerFactory" />
</bean>