Architecture / Load Context
The job of the
Load Context is to support secondary loading queries (both eager and lazy)
with batch loading (to avoid N + 1) and propagating key query execution context from the origin query
to the secondary queries.
The Load context provides the batch loading mechanism. This solves the N + 1 issue for Ebean. As such it is one of the most important internal features of Ebean ORM.
Propagate query context
When secondary queries load additional parts of the object graph Ebean propagates key query execution context
origin query to the secondary queries including:
HistoryasOf timestamp or version timestamps