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
|
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.
|
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-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.