![]() ![]() ![]() ![]() |
Persistence Unit: General Configuration
Configuration Options Related Tasks Related Topics
This page shows the general attributes of a persistence unit.
Configuration Options
Name Description Name The name used to reference this given configuration.
MBean Attribute (Does not apply to application modules) :
PersistenceUnitBean.Name
Changes take effect after you redeploy the module or restart the server.
Provider The provider class to provide persistence services.
MBean Attribute (Does not apply to application modules) :
PersistenceUnitBean.Provider
Changes take effect after you redeploy the module or restart the server.
Description The description of this unit.
MBean Attribute (Does not apply to application modules) :
PersistenceUnitBean.Description
Changes take effect after you redeploy the module or restart the server.
Transaction Type The transaction type for the given entity manager.
MBean Attribute (Does not apply to application modules) :
PersistenceUnitBean.TransactionType
Changes take effect after you redeploy the module or restart the server.
Data Cache Timeout The number of milliseconds that data in the data cache is valid for. A value of 0 or less means that by default, cached data does not time out.
MBean Attribute:
PersistenceUnitConfigurationBean.DataCacheTimeout
Fetch Batch Size The number of rows that will be pre-fetched when an element in a result is accessed. Use -1 to pre-fetch all results.
MBean Attribute:
PersistenceUnitConfigurationBean.FetchBatchSize
Default Schema Name The default schema for unqualified table names.
MBean Attribute:
PersistenceUnitConfigurationBean.Schema
Changes take effect after you redeploy the module or restart the server.
Vendor Properties Additional implementation specific properties to store with this persistence unit.
MBean Attribute (Does not apply to application modules) :
PersistenceUnitBean.Properties
Changes take effect after you redeploy the module or restart the server.
Name The name of a property.
MBean Attribute (Does not apply to application modules) :
PersistencePropertyBean.Name
Changes take effect after you redeploy the module or restart the server.
Value The associated value.
MBean Attribute (Does not apply to application modules) :
PersistencePropertyBean.Value
Changes take effect after you redeploy the module or restart the server.
Data Caches Plugins used to cache data loaded from the data store. Must implement org.apache.openjpa.datacache.DataCache.
MBean Attribute:
PersistenceUnitConfigurationBean.DataCaches
Changes take effect after you redeploy the module or restart the server.
Name The name to identify this cache for metadata and runtime purposes.
MBean Attribute:
DataCacheBean.Name
Changes take effect after you redeploy the module or restart the server.
Type Type of this unit.
Remote Commit Provider MBean Attribute:
PersistenceUnitConfigurationBean.JMSRemoteCommitProvider
Changes take effect after you redeploy the module or restart the server.
![]() |