Package | Description |
---|---|
javax.persistence | |
javax.persistence.spi | |
org.hibernate.boot |
This package contains the contracts that make up the Hibernate native
bootstrapping API (building a SessionFactory).
|
org.hibernate.boot.internal | |
org.hibernate.boot.spi | |
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.jpa.boot.internal | |
org.hibernate.jpa.boot.spi |
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.
|
Modifier and Type | Method and Description |
---|---|
MetadataBuilder |
MetadataBuilder.applySharedCacheMode(SharedCacheMode cacheMode)
Specify the second-level cache mode to be used.
|
Modifier and Type | Method and Description |
---|---|
SharedCacheMode |
MetadataBuilderImpl.MetadataBuildingOptionsImpl.getSharedCacheMode() |
Modifier and Type | Method and Description |
---|---|
MetadataBuilder |
MetadataBuilderImpl.applySharedCacheMode(SharedCacheMode sharedCacheMode) |
Modifier and Type | Method and Description |
---|---|
SharedCacheMode |
MetadataBuildingOptions.getSharedCacheMode()
Access to the SharedCacheMode for determining whether we should perform second level
caching or not.
|
SharedCacheMode |
AbstractDelegatingMetadataBuildingOptions.getSharedCacheMode() |
Modifier and Type | Method and Description |
---|---|
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applySharedCacheMode(SharedCacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
void |
Configuration.setSharedCacheMode(SharedCacheMode sharedCacheMode)
Sets the SharedCacheMode to use.
|
Modifier and Type | Method and Description |
---|---|
SharedCacheMode |
PersistenceUnitInfoDescriptor.getSharedCacheMode() |
SharedCacheMode |
ParsedPersistenceXmlDescriptor.getSharedCacheMode() |
Modifier and Type | Method and Description |
---|---|
SharedCacheMode |
PersistenceUnitDescriptor.getSharedCacheMode() |
Copyright © 2017 JBoss by Red Hat. All rights reserved.