Open iluwatar opened 9 years ago
@iluwatar The link provided is incorrect.
@iluwatar @pierDipi I think the domain is no longer maintainted. we can use https://vladmihalcea.com/the-open-session-in-view-anti-pattern/ and https://www.linkedin.com/pulse/open-session-view-pattern-hamed-hatami/
Thanks @IAmPramod :+1:
Updated task description
Description
The Open Session In View (OSIV) design pattern is aimed at solving the problem of lazy loading in web applications. It allows an open persistence context for the duration of a request, enabling lazy-loaded associations to be accessed and resolved within the view layer.
Main Elements of Open Session In View Pattern:
LazyInitializationException
.References
Acceptance Criteria
LazyInitializationException
.