spring-framework / org.springframework.cache.jcache / JCacheCacheManager / setAllowNullValues

setAllowNullValues

open fun setAllowNullValues(allowNullValues: Boolean): Unit

Specify whether to accept and convert null values for all caches in this cache manager.

Default is "true", despite JSR-107 itself not supporting null values. An internal holder object will be used to store user-level nulls.