JPA Method
in jakarta.persistence.spi.PersistenceUnitInfo

SharedCacheMode getSharedCacheMode()


Returns the specification of how the provider must use a second-level cache for the persistence unit. The result of this method corresponds to the shared-cache-mode element in the persistence.xml file.
Return:
the second-level cache mode that must be used by the provider for the persistence unit
Since:
JPA 2.0