model.persistence
CachePersistence.prefetch must be called before any finders. The CachedPersistence trait implements the default caching strategy. This trait overrides the default finder implementations.
CachePersistence.prefetch
CachedPersistence
Human-readable name of persisted class
Flushes the cache and then loads all instances of CaseClass into the cache from the database.
CaseClass
CachePersistence.prefetch
must be called before any finders. TheCachedPersistence
trait implements the default caching strategy. This trait overrides the default finder implementations.