A downside of the Open Session in View pattern is that the persistence-context object is effectively scoped to a user request.
Open Session in View模式的一个缺点是持久化上下文对象被高效地划定到用户请求作用域内。
When open Session in view is implemented as a filter or interceptor, the persistence-context object remains open during view rendering.
当open Session in View模式作为过滤器或拦截器实现时,持久化上下文对象在视图呈现期间会保持打开状态。
When open Session in view is implemented as a filter or interceptor, the persistence-context object remains open during view rendering.
当open Session in View模式作为过滤器或拦截器实现时,持久化上下文对象在视图呈现期间会保持打开状态。
应用推荐