createObjectCache

open override fun createObjectCache(type: ImmutableType): Cache<*, *>?

Create cache for an entity type.

If you don't want all entity types to support object caching, you can check the parameters and return null in some cases

Return

Cache object or null

See also

org.babyfish.jimmer.sql.cache.chain.ChainCacheBuilder

Parameters

type

The entity type