Enum Class SharedCacheMode

java.lang.Object
java.lang.Enum<SharedCacheMode>
jakarta.persistence.SharedCacheMode
All Implemented Interfaces:
Serializable, Comparable<SharedCacheMode>, Constable

public enum SharedCacheMode extends Enum<SharedCacheMode>
Specifies how the provider must use a second-level cache for the persistence unit. Corresponds to the value of the persistence.xml shared-cache-mode element, and returned as the result of PersistenceUnitInfo.getSharedCacheMode().
Since:
2.0