![]() ![]() ![]() ![]() |
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.
Provider The provider class to provide persistence services.
Description The description of this unit.
Transaction Type The transaction type for the given entity manager.
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.
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.
Default Schema Name The default schema for unqualified table names.
Vendor Properties Additional implementation specific properties to store with this persistence unit.
Name The name of a property.
Value The associated value.
Data Caches Plugins used to cache data loaded from the data store. Must implement org.apache.openjpa.datacache.DataCache.
Name The name to identify this cache for metadata and runtime purposes.
Type Type of this unit.
Remote Commit Provider Remote Commit Provider.
![]() |