## Uses of Class
javax.persistence.SharedCacheMode

- Packages that use SharedCacheMode
  Package | Description
  --- | ---
  javax.persistence | Java Persistence is the API for the management for persistence and object/relational mapping.
  javax.persistence.spi | SPI for Java Persistence providers

- - ### Uses of SharedCacheMode in javax.persistence

    Methods in javax.persistence that return SharedCacheMode
    Modifier and Type | Method and Description
    --- | ---
    `static SharedCacheMode` | SharedCacheMode.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static SharedCacheMode[]` | SharedCacheMode.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

  - ### Uses of SharedCacheMode in javax.persistence.spi

    Methods in javax.persistence.spi that return SharedCacheMode
    Modifier and Type | Method and Description
    --- | ---
    `SharedCacheMode` | PersistenceUnitInfo.`getSharedCacheMode()` Returns the specification of how the provider must use a second-level cache for the persistence unit.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.