equanda persistence layer features
lazy collections as selector results
All selectors with multiple results return LazyCollection objects. LazyCollection features:
- fetching is done in batches as objects are needed
- when a collection is not (yet) fully instantiated, then count() will run a count query on the database
- when hasNext is called and the next iterator object is not fetched, a new batch is fetched
- when hasNext is called and the next object is already fetched, the object is refreshed if it is "old" (the time is configurable)
- 1. equanda persistence layer features
- 1.0.1. lazy collections as selector results