Project

General

Profile

Actions

task #6775

open

consider using the OpenSessionInViewFilter for all REST service endpoints

Added by Andreas Kohlbecker over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
New
Category:
cdmlib-remote
Target version:
Start date:
07/03/2017
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 #1

Updated by Andreas Kohlbecker over 4 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF