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

Parameters

type

The entity type

See also

ChainCacheBuilder