Project

General

Profile

task #6775

consider using the OpenSessionInViewFilter for all REST service endpoints

Added by Andreas Kohlbecker over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
New
Category:
cdmlib-remote
Target version:
Start date:
07/03/2017
Due date:
% Done:

0%

Severity:
normal

Description

OpenSessionInViewFilter (org.springframework.orm.hibernate5.support.OpenSessionInViewFilter): Servlet Filter that binds a Hibernate Session to the thread for the entire processing of the request.

https://developer.jboss.org/wiki/OpenSessionInView

This would allow us simplifying the controllers a lot. Initstrategies would no longer be needed to avoid LazyInitializationException

History

#1 Updated by Andreas Kohlbecker over 1 year ago

  • Description updated (diff)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)