LDEV-4411 Reintroduce eager fetching and caching of QB options and units There are several places in LAMS code where we need to detach QB qu…
Show more
LDEV-4411 Reintroduce eager fetching and caching of QB options and unitsThere are several places in LAMS code where we need to detach QBquestion entity from session to do copying and comparison. While anotherapproach can be found, it requires a lot of effort to rewrite now.Fetching options from a detached question causes lazy initialisationexceptions. We had to make them eagerly fetched again.Collection caching is introduced too to address numerous queries runwith every question fetch.
Show less