About DISABLE_SELECTIVE

manual

Shared (L2) Entity Cache

Explains how to set and use the EntityManagerFactory's shared cache (L2 / level 2) in JPA 2.... for selected entity classes (see below). DISABLE_SELECTIVE - cache is enabled except for selected entity ... the persistence.xml caching element is ENABLE_SELECTIVE or DISABLE_SELECTIVE. See JavaDoc Reference Page... explicitly. For ...

 
api-jpa

SharedCacheMode.DISABLE_SELECTIVE

Caching is enabled for all entities except those for which Cacheable(false) is specified.(Enum Constant of javax.persistence.SharedCacheMode)

 
api-jpa

javax.persistence.Cacheable

Specifies whether an entity should be cached if caching is enabled when the value of the persistence.xml caching element is ENABLE_SELECTIVE or DISABLE_SELECTIVE.(Annotation of JPA)

 
api-jpa

javax.persistence.SharedCacheMode

Specifies how the provider must use a second-level cache for the persistence unit.(Enum of JPA)