Actions
task #6775
opentask #6992: Refactor and modernize REST web service API
consider using the OpenSessionInViewFilter for all REST service endpoints
Status:
New
Priority:
New
Assignee:
Category:
cdmlib-remote
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
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
Actions