The lazy = “false” mapping
Using lazy = "false" mappings is a very bad practice, and overrides any possibility to use fetching strategies. Even if at a certain point something seems to be necessary all the time and lazy = "false" might make sense, the application will evolve and a context will appear in which that thing will not be [...]
Fetching strategies and complex hierarchies
ALL THE EXAMPLES FROM THIS POST ARE EXTRACTED FROM THE FWKLIGHT DEMO. TO FIND OUT HOW TO GET STARTED WITH THE DEMO, READ THIS POST. Fetching strategies can be applied to aggregates with complex hierarchies, not only to the first level inside the aggregate. In order to optimize the queries that will be run, each [...]