createAssociatedIdCache

open override fun createAssociatedIdCache(prop: ImmutableProp): Cache<*, *>?

Create cache for one-to-one/many-to-one association property.

If you don't want all one-to-one/many-to-one associations 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

prop

The one-to-one/many-to-one association property