NPersistence Reference Guide
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.

Namespace: NPersistence.spi
Assembly: NPersistence (in NPersistence.dll) Version: (


SharedCacheMode GetSharedCacheMode()

Return Value

the second-level cache mode that must be used by the provider for the persistence unit

See Also