Project

General

Profile

Actions

task #6775

open

task #6992: Refactor and modernize REST web service API

consider using the OpenSessionInViewFilter for all REST service endpoints

Added by Andreas Kohlbecker almost 7 years ago. Updated about 2 years ago.

Status:
New
Priority:
New
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 #1

Updated by Andreas Kohlbecker almost 7 years ago

  • Description updated (diff)
Actions #2

Updated by Andreas Müller about 2 years ago

  • Assignee changed from Andreas Kohlbecker to Andreas Müller
Actions #3

Updated by Andreas Müller about 2 years ago

  • Parent task set to #6992
Actions

Also available in: Atom PDF