public class OpenJPAConfigurationImpl extends ConfigurationImpl implements OpenJPAConfiguration
OpenJPAConfiguration interface.ConfigurationImpl,
Serialized Formid, logFactoryPluginLOG_DATACACHE, LOG_ENHANCE, LOG_METADATA, LOG_QUERY, LOG_RUNTIME, LOG_TOOL, OPTION_DATASTORE_CONNECTION, OPTION_EMBEDDED_COLLECTION_RELATION, OPTION_EMBEDDED_MAP_RELATION, OPTION_EMBEDDED_RELATION, OPTION_ID_APPLICATION, OPTION_ID_DATASTORE, OPTION_INC_FLUSH, OPTION_JDBC_CONNECTION, OPTION_NONTRANS_READ, OPTION_NULL_CONTAINER, OPTION_OPTIMISTIC, OPTION_POSTLOAD_ON_MERGE, OPTION_QUERY_SQL, OPTION_TYPE_ARRAY, OPTION_TYPE_COLLECTION, OPTION_TYPE_MAP, OPTION_USE_TCCL_IN_SELECT_NEW, OPTION_VALUE_AUTOASSIGN, OPTION_VALUE_INCREMENTATTRIBUTE_ALLOWED_VALUES, ATTRIBUTE_CATEGORY, ATTRIBUTE_INTERFACE, ATTRIBUTE_ORDER, ATTRIBUTE_TYPE, ATTRIBUTE_XML, INIT_STATE_FREEZING, INIT_STATE_FROZEN, INIT_STATE_LIQUIDICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32| Constructor and Description |
|---|
OpenJPAConfigurationImpl()
Default constructor.
|
OpenJPAConfigurationImpl(boolean loadGlobals)
Constructor.
|
OpenJPAConfigurationImpl(boolean derivations,
boolean loadGlobals)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AggregateListener[] |
getAggregateListenerInstances()
Return the query function listeners.
|
String |
getAggregateListeners()
A comma-separted list of the plugin strings of the query
AggregateListeners to use. |
String |
getAuditor()
Gets the plug-in string of
Auditor specified in this configuration. |
Auditor |
getAuditorInstance()
Gets the singular instance of
Auditor associated with this configuration. |
String |
getAutoClear()
Whether instances clear their state when entering a transaction.
|
int |
getAutoClearConstant()
Return the
AutoClear constant. |
String |
getAutoDetach()
A comma-separated list of events which trigger auto-detachment
in place of managed states.
|
int |
getAutoDetachConstant()
The
AutoDetach flags. |
String |
getBrokerFactory()
The
BrokerFactory class to use. |
BrokerFactoryEventManager |
getBrokerFactoryEventManager()
Return the
BrokerFactoryEventManager
associated with this configuration. |
String |
getBrokerImpl()
The plugin string of the
BrokerImpl extension to create. |
String |
getCacheDistributionPolicy()
Gets the plug-in string that described the policy to distribute cached instances
across named partitions of L2 data cache.
|
CacheDistributionPolicy |
getCacheDistributionPolicyInstance()
Gets the policy object that determines distribution of cached instances
across named partitions of L2 data cache.
|
Map |
getCacheMarshallerInstances()
Return the cache marshaller listeners.
|
String |
getCacheMarshallers()
A comma-separted list of the plugin strings specifying the
CacheMarshallers to use. |
String |
getCallbackOptions()
Options for configuring callbacks as a String.
|
CallbackOptions |
getCallbackOptionsInstance()
Options for configuring callbacks.
|
String |
getClassResolver()
The plugin string for the
ClassResolver to use for custom
class loading. |
ClassResolver |
getClassResolverInstance()
The
ClassResolver to use. |
String |
getCompatibility()
Backwards compatibility options.
|
Compatibility |
getCompatibilityInstance()
If a Compatibility instance is associated with the Specification,
we will configure this Compatibility instance instead of instantiating a
new one so that the compatibility flags set in compliance with the
Specification can be preserved.
|
Log |
getConfigurationLog()
Returns the logging channel
openjpa.Runtime by default. |
String |
getConnection2DriverName()
Class name of the non-XA connection driver.
|
String |
getConnection2Password()
The password for the non-XA data store connection.
|
String |
getConnection2Properties()
These properties provide any additional information needed to
establish non-XA connections.
|
String |
getConnection2URL()
The URL for the non-XA data store connection.
|
String |
getConnection2UserName()
The user name for the non-XA data store connection.
|
String |
getConnectionDriverName()
Class name of the connection driver.
|
Object |
getConnectionFactory()
The connection factory, possibly from JNDI.
|
Object |
getConnectionFactory2()
The non-XA connection factory.
|
String |
getConnectionFactory2Name()
The name for the second data store connection factory.
|
String |
getConnectionFactory2Properties()
Configuration properties for the non-XA connection factory.
|
String |
getConnectionFactoryMode()
The mode of the connection factory in use.
|
String |
getConnectionFactoryName()
The name for the data store connection factory.
|
String |
getConnectionFactoryProperties()
Configuration properties for the connection factory.
|
String |
getConnectionPassword()
The password for the data store connection.
|
String |
getConnectionProperties()
These properties provide any additional information needed to
establish connections.
|
String |
getConnectionRetainMode()
Specifies the behavior of the broker with respect to data store
connections.
|
int |
getConnectionRetainModeConstant()
Return the connection retain mode as one of the following symbolic
constants:
ConnectionRetainModes.CONN_RETAIN_ALWAYS
ConnectionRetainModes.CONN_RETAIN_TRANS
ConnectionRetainModes.CONN_RETAIN_DEMAND
|
String |
getConnectionURL()
The URL for the data store connection.
|
String |
getConnectionUserName()
The user name for the data store connection.
|
String |
getCreateScriptSource() |
String |
getCreateScriptTarget() |
String |
getCreateSource()
Optional run a DB action before accessing the database.
|
int |
getCreateSourceConstant() |
String |
getDatabaseAction()
database action from the persistence unit.
|
int |
getDatabaseActionConstant() |
String |
getDataCache()
The
DataCache to use for level-2 data store caching. |
String |
getDataCacheManager()
The data cache manager manages this configuration's cache instances.
|
DataCacheManager |
getDataCacheManagerInstance()
The data cache manager manages this configuration's cache instances.
|
String |
getDataCacheMode()
Return the String constant that matches the
DataCacheMode |
int |
getDataCacheTimeout()
Default data cache timeout.
|
String |
getDetachState() |
DetachOptions |
getDetachStateInstance()
Return the instance specified by the detach state plugin.
|
String |
getDropScriptSource() |
String |
getDropScriptTarget() |
String |
getDropSource()
Similar to
OpenJPAConfiguration.getCreateSource() but for dropping the database schema and content. |
int |
getDropSourceConstant() |
boolean |
getDynamicDataStructs()
Return whether to generate dynamic data structures
where possible for cache and runtime usage.
|
boolean |
getDynamicEnhancementAgent()
Whether OpenJPA will attempt to dynamically load the enhancement agent.
|
EncryptionProvider |
getEncryptionProvider()
Gets the
EncryptionProvider. |
int |
getFetchBatchSize()
Get the size of the batch that will be pre-selected when accessing
elements in a query or relationship.
|
String |
getFetchGroups()
Comma-separated list of fetch group names that will be pre-set for
all new
FetchConfigurations. |
String[] |
getFetchGroupsList()
List of fetch group names that will be pre-set for all new
FetchConfigurations. |
FilterListener[] |
getFilterListenerInstances()
Return the query filter listeners.
|
String |
getFilterListeners()
A comma-separted list of the plugin strings of the query
FilterListeners to use. |
String |
getFinderCache()
Get the string configuration of the finder cache.
|
FinderCache |
getFinderCacheInstance()
Get the cache of finder queries.
|
String |
getFlushBeforeQueries()
Returns whether or not OpenJPA should automatically flush
modifications to the data store before executing queries.
|
int |
getFlushBeforeQueriesConstant()
Returns one of
QueryFlushModes.FLUSH_TRUE,
QueryFlushModes.FLUSH_FALSE, or
QueryFlushModes.FLUSH_WITH_CONNECTION, as determined
by parsing the string returned by OpenJPAConfiguration.getFlushBeforeQueries(). |
boolean |
getIgnoreChanges()
Whether changes in the current transaction are taken into account when
executing queries and iterating extents.
|
String |
getInstrumentation()
Gets the plug-in string that defines instrumentation providers and what
they instrument.
|
InstrumentationProvider[] |
getInstrumentationInstances() |
String |
getInstrumentationManager() |
InstrumentationManager |
getInstrumentationManagerInstance()
Gets an instance of the instrumentation manager.
|
String |
getInverseManager()
The plugin to use for managing inverse relations.
|
String |
getLifecycleEventManager()
Gets the lifecycle event manager instance classname.
|
LifecycleEventManager |
getLifecycleEventManagerInstance()
Gets the lifecycle event manager instance.
|
String |
getLoadScriptSource()
Can be used to load a set of initial data into the database.
|
String |
getLockManager()
The plugin to use for datastore lock management.
|
int |
getLockTimeout()
The time to wait for an object lock in milliseconds, or -1 for no
timeout.
|
String |
getManagedRuntime()
The plugin string for the
ManagedRuntime to use for managed
environments. |
ManagedRuntime |
getManagedRuntimeInstance()
The plugin to use for integrating with a managed runtime.
|
String |
getMapping()
The name mapping to use for this data store.
|
int |
getMaxFetchDepth()
The maximum relation depth to traverse when eager fetching.
|
String |
getMetaDataFactory()
A plugin string describing the
MetaDataFactory to use. |
String |
getMetaDataRepository()
A plugin string describing the
MetaDataRepository to use. |
MetaDataRepository |
getMetaDataRepositoryInstance()
The metadata repository of managed class information.
|
boolean |
getMultithreaded()
Whether brokers or their managed objects will be used by multiple
concurrent threads.
|
boolean |
getNontransactionalRead()
Whether persistent state is accessible outside a transaction by default.
|
boolean |
getNontransactionalWrite()
Whether persistent state can be modified outside a transaction by
default.
|
boolean |
getOptimistic()
Whether to use optimistic transactions by default.
|
boolean |
getOptimizeIdCopy()
Whether to attempt to optimize id class copy operations during the
enhancement process.
|
String |
getOrphanedKeyAction()
The action to take when an orphaned key is detected.
|
OrphanedKeyAction |
getOrphanedKeyActionInstance()
The action to take when an orphaned key is detected.
|
Map<String,Object> |
getPersistenceEnvironment() |
boolean |
getPostLoadOnMerge()
Whether to send @PostLoad events on a merge operation.
|
String |
getProxyManager()
The plugin string for the
ProxyManager to use for second
class object proxies. |
ProxyManager |
getProxyManagerInstance()
The
ProxyManager to use. |
String |
getQueryCache()
The plugin to use for level-2 data store query caching.
|
String |
getQueryCompilationCache()
Configuration settings for the query compilation cache to use.
|
Map |
getQueryCompilationCacheInstance()
Configuration settings for the query compilation cache to use.
|
String |
getQuerySQLCache()
Gets the configuration of QuerySQLCache.
|
PreparedQueryCache |
getQuerySQLCacheInstance()
Return PreparedQueryCache used for caching datastore queries.
|
int |
getQueryTimeout()
The time to wait for a query to execute in milliseconds, or -1 for no
timeout.
|
String |
getReadLockLevel()
The default read lock level to use during non-optimistic transactions.
|
int |
getReadLockLevelConstant()
The numeric read lock level.
|
boolean |
getRefreshFromDataCache()
Gets whether entity state is to be refreshed from
DataCache. |
RemoteCommitEventManager |
getRemoteCommitEventManager()
The remote event manager that manages this configuration's remote
event listeners.
|
String |
getRemoteCommitProvider()
The plugin to use for remote commit notification.
|
String |
getRestoreState()
Whether to restore initial state on rollback by default.
|
int |
getRestoreStateConstant()
Return the
RestoreState constant. |
boolean |
getRetainState()
Whether to retain state after a transaction by default.
|
boolean |
getRetryClassRegistration()
Whether to warn and defer registration instead of throwing an
exception when a registered persistent class cannot be processed.
|
String |
getRuntimeUnenhancedClasses()
Specifies how OpenJPA handles unenhanced types.
|
int |
getRuntimeUnenhancedClassesConstant()
Return the runtime class optimization setting as one of the
following symbolic constants:
RuntimeUnenhancedClassesModes.SUPPORTED
RuntimeUnenhancedClassesModes.UNSUPPORTED
RuntimeUnenhancedClassesModes.WARN
|
String |
getSavepointManager()
The plugin to use for savepoint management.
|
SavepointManager |
getSavepointManagerInstance()
Return the configured savepoint manager instance.
|
String |
getScriptsAction()
Similar to
OpenJPAConfiguration.getDatabaseAction() but write the generated SQL
to files. |
int |
getScriptsActionConstant() |
String |
getSequence()
Plugin string for the default system
Seq. |
Seq |
getSequenceInstance()
The default system sequence.
|
String |
getSpecification()
Get the name of the Specification only (not the version or other
information) or an empty String if not set.
|
Specification |
getSpecificationInstance()
Get the Specification.
|
StoreFacadeTypeRegistry |
getStoreFacadeTypeRegistry()
Return the
StoreFacadeTypeRegistry instance associated with this
configuration. |
String |
getTransactionMode()
Specifies the behavior of the transaction model.
|
Collection<Class<?>> |
getTypesWithoutEnhancement() |
boolean |
getUseTCCLinSelectNew()
Indicates if the
Thread.contextClassLoader should be used
as fallback if the result class for select new is not found
by the classloader of the entity. |
Object |
getValidationFactoryInstance()
The ValidatorFactory provided by the container or application.
|
String |
getValidationGroupPrePersist()
Gets the validation groups for pre-persist
|
String |
getValidationGroupPreRemove()
Gets the validation groups for pre-remove
|
String |
getValidationGroupPreUpdate()
Gets the validation groups for pre-update
|
String |
getValidationMode()
The bean validation mode to use for managed classes.
|
Object |
getValidatorInstance()
The Validator provided by the container or created by the runtime.
|
String |
getWriteLockLevel()
The default write lock level to use during non-optimistic transactions.
|
int |
getWriteLockLevelConstant()
The numeric write lock level.
|
void |
instantiateAll()
Call the instantiating get methods for all values.
|
boolean |
isConnectionFactoryModeManaged()
Whether connections are automatically enlisted in global transactions.
|
boolean |
isInitializeEagerly()
Affirms if all configured elements are initialized eagerly as opposed
to lazily on-demand.
|
boolean |
isTransactionModeManaged()
Return whether managed transactions are being used.
|
boolean |
metaDataRepositoryAvailable()
Returns true if a metaDataRepository has been created for this
configuration.
|
BrokerImpl |
newBrokerInstance(String user,
String pass)
Create a new broker instance with the configured plugin data.
|
InverseManager |
newInverseManagerInstance()
Return a new inverse manager instance using the configured plugin
settings.
|
LockManager |
newLockManagerInstance()
Return a new lock manager instance using the configured plugin settings.
|
MetaDataFactory |
newMetaDataFactoryInstance()
Create a new
MetaDataFactory to use with a repository. |
MetaDataRepository |
newMetaDataRepositoryInstance()
Create a new empty metadata repository of the configured type.
|
RemoteCommitProvider |
newRemoteCommitProviderInstance()
Create a remote commit provider from the configured plugin.
|
protected void |
preClose()
Invoked by final method
ConfigurationImpl.close() after invoking the
ProductDerivation.beforeConfigurationClose(org.apache.openjpa.lib.conf.Configuration) callbacks
but before performing internal close operations. |
void |
setAggregateListeners(AggregateListener[] listeners)
Set the query function listeners.
|
void |
setAggregateListeners(String aggregateListeners)
A comma-separted list of the plugin strings of the query
AggregateListeners to use. |
void |
setAuditor(String auditor)
Sets the plug-in string of
Auditor specified in this configuration. |
void |
setAuditorInstance(Auditor auditor)
Sets the singular instance of
Auditor associated with this configuration. |
void |
setAutoClear(int clear)
Whether instances clear their state when entering a transaction.
|
void |
setAutoClear(String clear)
Whether instances clear their state when entering a transaction.
|
void |
setAutoDetach(int autoDetachFlags)
The
AutoDetach flags. |
void |
setAutoDetach(String autoDetach)
A comma-separated list of events which trigger auto-detachment
in place of managed states.
|
void |
setBrokerFactory(String factory)
The
BrokerFactory class to use. |
void |
setBrokerImpl(String broker)
The plugin string of the
BrokerImpl extension to create. |
void |
setCacheDistributionPolicy(String policyPlugin)
Sets the plug-in string that describes the policy to distribute cached instances
across named partitions of L2 data cache.
|
void |
setCacheDistributionPolicyInstance(CacheDistributionPolicy policy)
Sets the policy object that determines distribution of cached instances
across named partitions of L2 data cache.
|
void |
setCacheMarshallers(String marshallers)
A comma-separated list of the plugin strings specifying the
CacheMarshallers to use. |
void |
setCallbackOptions(String options)
Options for configuring callbacks set as a comma-separated string value
pair.
|
void |
setClassResolver(ClassResolver classResolver)
The
ClassResolver to use. |
void |
setClassResolver(String classResolver)
The plugin string for the
ClassResolver to use for custom
class loading. |
void |
setCompatibility(String compatibility)
Backwards compatibility options.
|
void |
setConnection2DriverName(String driverName)
Class name of the non-XA connection driver.
|
void |
setConnection2Password(String connection2Password)
The password for the non-XA data store connection.
|
void |
setConnection2Properties(String connection2Properties)
These properties provide any additional information needed to
establish non-XA connections.
|
void |
setConnection2URL(String connection2URL)
The URL for the non-XA data store connection.
|
void |
setConnection2UserName(String connection2UserName)
The user name for the non-XA data store connection.
|
void |
setConnectionDriverName(String driverName)
Class name of the connection driver.
|
void |
setConnectionFactory(Object factory)
The connection factory.
|
void |
setConnectionFactory2(Object factory)
The non-XA connection factory.
|
void |
setConnectionFactory2Name(String connectionFactory2Name)
The name for the second data store connection factory.
|
void |
setConnectionFactory2Properties(String connectionFactory2Properties)
Configuration properties for the non-XA connection factory.
|
void |
setConnectionFactoryMode(String mode)
The mode of the connection factory in use.
|
void |
setConnectionFactoryModeManaged(boolean managed)
Whether connections are automatically enlisted in global transactions.
|
void |
setConnectionFactoryName(String connectionFactoryName)
The name for the data store connection factory.
|
void |
setConnectionFactoryProperties(String connectionFactoryProperties)
Configuration properties for the connection factory.
|
void |
setConnectionPassword(String connectionPassword)
The password for the data store connection.
|
void |
setConnectionProperties(String connectionProperties)
These properties provide any additional information needed to
establish connections.
|
void |
setConnectionRetainMode(int connectionRetainMode)
Set the connection retain mode as one of the following symbolic
constants:
ConnectionRetainModes.CONN_RETAIN_ALWAYS
ConnectionRetainModes.CONN_RETAIN_TRANS
ConnectionRetainModes.CONN_RETAIN_DEMAND
|
void |
setConnectionRetainMode(String connectionRetainMode)
Specifies the behavior of the broker with respect to data store
connections.
|
void |
setConnectionURL(String connectionURL)
The URL for the data store connection.
|
void |
setConnectionUserName(String connectionUserName)
The user name for the data store connection.
|
void |
setDataCache(String dataCache)
The
DataCache to use for level-2 data store caching. |
void |
setDataCacheManager(DataCacheManager dcm)
The data cache manager manages this configuration's cache instances.
|
void |
setDataCacheManager(String mgr)
The data cache manager manages this configuration's cache instances.
|
void |
setDataCacheMode(String mode)
Set the
DataCacheMode |
void |
setDataCacheTimeout(int dataCacheTimeout)
Default data cache timeout.
|
void |
setDataCacheTimeout(Integer dataCacheTimeout)
Wrapper for JCA usage of
OpenJPAConfiguration.setDataCacheTimeout(int). |
void |
setDetachState(DetachOptions detachState)
Return the instance specified by the detach state plugin.
|
void |
setDetachState(String detachState)
Which field values to include when detaching.
|
void |
setDynamicDataStructs(boolean dynamic)
Set whether to generate dynamic data structures
where possible for cache and runtime usage.
|
void |
setDynamicDataStructs(Boolean dynamic)
Wrapper for JCA usage of
OpenJPAConfiguration.setDynamicDataStructs(boolean). |
void |
setDynamicEnhancementAgent(boolean dynamic)
Sets whether OpenJPA will attempt to dynamically load the enhancement
agent.
|
void |
setEncryptionProvider(String p)
Sets the
EncryptionProvider. |
void |
setFetchBatchSize(int fetchBatchSize)
Set the size of the batch that will be pre-selected when accessing
elements in a query or relationship.
|
void |
setFetchBatchSize(Integer fetchBatchSize)
Wrapper for JCA usage of
OpenJPAConfiguration.setFetchBatchSize(int). |
void |
setFetchGroups(String fetchGroups)
Comma-separated list of fetch group names that will be pre-set for
all new
FetchConfigurations. |
void |
setFetchGroups(String[] fetchGroups)
List of fetch group names that will be pre-set for all new
FetchConfigurations. |
void |
setFilterListeners(FilterListener[] listeners)
Set the query filter listeners.
|
void |
setFilterListeners(String filterListeners)
A comma-separted list of the plugin strings of the query
FilterListeners to use. |
void |
setFinderCache(String finderCache)
Set the finder cache from a string configuration.
|
void |
setFlushBeforeQueries(int flush)
|
void |
setFlushBeforeQueries(String flush)
Sets whether or not OpenJPA should automatically flush
modifications to the data store before executing queries.
|
void |
setIgnoreChanges(boolean ignoreChanges)
Whether changes in the current transaction are taken into account when
executing queries and iterating extents.
|
void |
setIgnoreChanges(Boolean ignoreChanges)
Wrapper for JCA usage of
OpenJPAConfiguration.setIgnoreChanges(boolean). |
void |
setInitializeEagerly(boolean retry)
Sets whether all configured elements will be initialized eagerly or
lazily on-demand.
|
void |
setInstrumentation(String providers)
Sets the plug-in string that defines instrumentation providers and what
they instrument.
|
void |
setInstrumentationManager(InstrumentationManager im) |
void |
setInstrumentationManager(String mgr) |
void |
setInverseManager(String inverseManager)
The plugin to use for managing inverse relations.
|
void |
setLifecycleEventManager(String lem)
Sets the lifecycle event manager instance classname.
|
void |
setLockManager(String lockManager)
The plugin to use for datastore lock management.
|
void |
setLockTimeout(int timeout)
The time to wait for an object lock in milliseconds, or -1 for no
timeout.
|
void |
setLockTimeout(Integer timeout)
Wrapper for JCA usage of
OpenJPAConfiguration.setLockTimeout(int). |
void |
setManagedRuntime(ManagedRuntime managedRuntime)
The plugin to use for integrating with a managed runtime.
|
void |
setManagedRuntime(String managedRuntime)
The plugin string for the
ManagedRuntime to use for managed
environments. |
void |
setMapping(String mapping)
The name mapping to use for this data store.
|
void |
setMaxFetchDepth(int maxFetchDepth)
The maximum relation depth to traverse when eager fetching.
|
void |
setMaxFetchDepth(Integer maxFetchDepth)
Wrapper for JCA usage of
OpenJPAConfiguration.setMaxFetchDepth(int). |
void |
setMetaDataFactory(String meta)
A plugin string describing the
MetaDataFactory to use. |
void |
setMetaDataRepository(MetaDataRepository meta)
The metadata repository of managed class information.
|
void |
setMetaDataRepository(String meta)
A plugin string describing the
MetaDataRepository to use. |
void |
setMultithreaded(boolean multithreaded)
Whether brokers or their managed objects will be used by multiple
concurrent threads.
|
void |
setMultithreaded(Boolean multithreaded)
Wrapper for JCA usage of
OpenJPAConfiguration.setMultithreaded(boolean). |
void |
setNontransactionalRead(boolean nontransactionalRead)
Whether persistent state is accessible outside a transaction by default.
|
void |
setNontransactionalRead(Boolean nontransactionalRead)
Wrapper for JCA usage of
OpenJPAConfiguration.setNontransactionalRead(boolean). |
void |
setNontransactionalWrite(boolean nontransactionalWrite)
Whether persistent state can be modified outside a transaction by
default.
|
void |
setNontransactionalWrite(Boolean nontransactionalWrite)
Wrapper for JCA usage of
OpenJPAConfiguration.setNontransactionalWrite(boolean). |
void |
setOptimistic(boolean optimistic)
Whether to use optimistic transactions by default.
|
void |
setOptimistic(Boolean optimistic)
Wrapper for JCA usage of
OpenJPAConfiguration.setOptimistic(boolean). |
void |
setOptimizeIdCopy(boolean optimizeId)
Whether to attempt to optimize id class copy operations during the
enhancement process.
|
void |
setOptimizeIdCopy(Boolean optimizeId)
Whether to attempt to optimize id class copy operations during the
enhancement process.
|
void |
setOrphanedKeyAction(OrphanedKeyAction action)
The action to take when an orphaned key is detected.
|
void |
setOrphanedKeyAction(String action)
The action to take when an orphaned key is detected.
|
void |
setPersistenceEnvironment(Map<String,Object> peMap) |
void |
setPostLoadOnMerge(boolean postLoadOnMerge)
Whether to send @PostLoad events on a merge operation.
|
void |
setPostLoadOnMerge(Boolean postLoadOnMerge)
Whether to send @PostLoad events on a merge operation.
|
void |
setProxyManager(ProxyManager proxyManager)
The
ProxyManager to use. |
void |
setProxyManager(String proxyManager)
The plugin string for the
ProxyManager to use for second
class object proxies. |
void |
setQueryCache(String queryCache)
The plugin to use for level-2 data store query caching.
|
void |
setQueryCompilationCache(String queryCompilationCache)
Configuration settings for the query compilation cache to use.
|
void |
setQuerySQLCache(PreparedQueryCache querySQLCache)
Sets QuerySQLCache with the given cache.
|
void |
setQuerySQLCache(String querySQLCache)
Sets QuerySQLCache with the given configuration.
|
void |
setQueryTimeout(int timeout)
The time to wait for a query to execute in milliseconds, or -1 for no
timeout.
|
void |
setReadLockLevel(int level)
The numeric read lock level.
|
void |
setReadLockLevel(String level)
The default read lock level to use during non-optimistic transactions.
|
void |
setRefreshFromDataCache(boolean flag)
Sets whether entity state is to be refreshed from
DataCache. |
void |
setRefreshFromDataCache(Boolean flag)
Sets whether entity state is to be refreshed from
DataCache. |
void |
setRemoteCommitEventManager(RemoteCommitEventManager remoteEventManager)
The remote event manager that manages this configuration's remote
event listeners.
|
void |
setRemoteCommitProvider(String remoteCommitProvider)
The plugin to use for remote commit notification.
|
void |
setRestoreState(int restoreState)
Whether to restore initial state on rollback by default.
|
void |
setRestoreState(String restoreState)
Whether to restore initial state on rollback by default.
|
void |
setRetainState(boolean retainState)
Whether to retain state after a transaction by default.
|
void |
setRetainState(Boolean retainState)
Wrapper for JCA usage of
OpenJPAConfiguration.setRetainState(boolean). |
void |
setRetryClassRegistration(boolean retry)
Whether to warn and defer registration instead of throwing an
exception when a registered persistent class cannot be processed.
|
void |
setRetryClassRegistration(Boolean retry)
Wrapper for JCA usage of
OpenJPAConfiguration.setRetryClassRegistration(boolean). |
void |
setRuntimeUnenhancedClasses(int mode)
Set the runtime class optimization setting as one of the
following symbolic constants:
RuntimeUnenhancedClassesModes.SUPPORTED
RuntimeUnenhancedClassesModes.UNSUPPORTED
RuntimeUnenhancedClassesModes.WARN
|
void |
setRuntimeUnenhancedClasses(String mode)
Specifies how OpenJPA handles unenhanced types.
|
void |
setSavepointManager(String savepointManager)
The plugin to use for savepoint management.
|
void |
setSequence(Seq seq)
The default system sequence.
|
void |
setSequence(String sequence)
Plugin string for the default system
Seq. |
void |
setSpecification(Specification newSpec)
Set the Specification for this configuration.
|
void |
setSpecification(String spec)
Sets Specification from the given String.
|
void |
setTransactionMode(String transactionMode)
Specifies the behavior of the transaction model.
|
void |
setTransactionModeManaged(boolean managed)
Set whether managed transactions are being used.
|
void |
setTypesWithoutEnhancement(Collection<Class<?>> value) |
void |
setUseTCCLinSelectNew(boolean useTcclForSelectNew)
Indicates if the
Thread.contextClassLoader should be used
as fallback if the result class for select new is not found
by the classloader of the entity. |
void |
setUseTCCLinSelectNew(Boolean useTcclForSelectNew)
Indicates if the
Thread.contextClassLoader should be used
as fallback if the result class for select new is not found
by the classloader of the entity. |
void |
setValidationFactory(Object factory)
Set the container or application provided ValidatorFactory instance.
|
void |
setValidationGroupPrePersist(String vgPrePersist)
Sets the validation groups for pre-persist
|
void |
setValidationGroupPreRemove(String vgPreRemove)
Sets the validation groups for pre-remove
|
void |
setValidationGroupPreUpdate(String vgPreUpdate)
Sets the validation groups for pre-update
|
void |
setValidationMode(String mode)
Set the bean validation mode to use for managed classes.
|
void |
setValidatorInstance(Object val)
Set the container or application provided Validator instance.
|
void |
setWriteLockLevel(int level)
The numeric write lock level.
|
void |
setWriteLockLevel(String level)
The default write lock level to use during non-optimistic transactions.
|
Collection<String> |
supportedOptions()
Return the set of option strings supported by this runtime.
|
addBoolean, addDouble, addFile, addInt, addObject, addPlugin, addPluginList, addPropertyChangeListener, addString, addStringList, addValue, clone, close, equals, fromProperties, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getId, getLog, getLog, getLogFactory, getMethodDescriptors, getProductName, getPropertiesResource, getPropertyDescriptors, getPropertyKeys, getPropertyKeys, getUserClassLoader, getValue, getValues, hashCode, isDeferResourceLoading, isInvalidProperty, isReadOnly, loadGlobals, readExternal, removePropertyChangeListener, removeValue, setDeferResourceLoading, setId, setLog, setLogFactory, setProductName, setProperties, setPropertiesFile, setReadOnly, setUserClassLoader, toProperties, toXMLName, valueChanged, writeExternalfinalize, getClass, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addValue, clone, close, fromProperties, getId, getLog, getLog, getLogFactory, getProductName, getPropertyKeys, getPropertyKeys, getUserClassLoader, getValue, getValues, isReadOnly, removePropertyChangeListener, removeValue, setId, setLog, setLogFactory, setProductName, setReadOnly, setUserClassLoader, toPropertiesgetAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptorsprotected MetaDataRepository metaRepository
protected RemoteCommitEventManager remoteEventManager
public ObjectValue classResolverPlugin
public BrokerValue brokerPlugin
public ObjectValue dataCachePlugin
public ObjectValue dataCacheManagerPlugin
public ObjectValue auditorPlugin
public ObjectValue cacheDistributionPolicyPlugin
public IntValue dataCacheTimeout
public ObjectValue queryCachePlugin
public BooleanValue dynamicDataStructs
public ObjectValue managedRuntimePlugin
public BooleanValue transactionMode
public IntValue connectionRetainMode
public IntValue fetchBatchSize
public IntValue maxFetchDepth
public StringListValue fetchGroups
public IntValue flushBeforeQueries
public IntValue lockTimeout
public IntValue queryTimeout
public IntValue readLockLevel
public IntValue writeLockLevel
public ObjectValue seqPlugin
public PluginListValue filterListenerPlugins
public PluginListValue aggregateListenerPlugins
public BooleanValue retryClassRegistration
public ObjectValue proxyManagerPlugin
public StringValue connectionUserName
public StringValue connectionPassword
public PluginValue encryptionProvider
public StringValue connectionURL
public StringValue connectionDriverName
public ObjectValue connectionFactory
public StringValue connectionFactoryName
public StringValue connectionProperties
public StringValue connectionFactoryProperties
public BooleanValue connectionFactoryMode
public StringValue connection2UserName
public StringValue connection2Password
public StringValue connection2URL
public StringValue connection2DriverName
public StringValue connection2Properties
public ObjectValue connectionFactory2
public StringValue connectionFactory2Name
public StringValue connectionFactory2Properties
public BooleanValue optimistic
public IntValue autoClear
public BooleanValue retainState
public IntValue restoreState
public ObjectValue detachStatePlugin
public BooleanValue ignoreChanges
public BooleanValue nontransactionalRead
public BooleanValue nontransactionalWrite
public BooleanValue refreshFromDataCache
public BooleanValue multithreaded
public StringValue mapping
public PluginValue metaFactoryPlugin
public MetaDataRepositoryValue metaRepositoryPlugin
public ObjectValue lockManagerPlugin
public ObjectValue inverseManagerPlugin
public ObjectValue savepointManagerPlugin
public ObjectValue orphanedKeyPlugin
public ObjectValue compatibilityPlugin
public ObjectValue callbackPlugin
public QueryCompilationCacheValue queryCompilationCachePlugin
public IntValue runtimeUnenhancedClasses
public CacheMarshallersValue cacheMarshallerPlugins
public BooleanValue eagerInitialization
public PluginValue preparedQueryCachePlugin
public PluginValue finderCachePlugin
public ObjectValue specification
public StringValue validationMode
public ObjectValue validationFactory
public ObjectValue validator
public ObjectValue lifecycleEventManager
public StringValue validationGroupPrePersist
public StringValue validationGroupPreUpdate
public StringValue validationGroupPreRemove
public StringValue dataCacheMode
public BooleanValue dynamicEnhancementAgent
public ObjectValue instrumentationManager
public PluginListValue instrumentationProviders
public BooleanValue postLoadOnMerge
public BooleanValue optimizeIdCopy
public BooleanValue useTcclForSelectNew
public ClassListValue typesWithoutEnhancement
public IntValue databaseAction
public IntValue scriptsAction
public IntValue createSource
public IntValue dropSource
public StringValue createScriptSource
public StringValue dropScriptSource
public StringValue createScriptTarget
public StringValue dropScriptTarget
public StringValue loadScriptSource
public BrokerFactoryValue brokerFactoryPlugin
public RemoteCommitProviderValue remoteProviderPlugin
public org.apache.openjpa.conf.AutoDetachValue autoDetach
public OpenJPAConfigurationImpl()
public OpenJPAConfigurationImpl(boolean loadGlobals)
loadGlobals - whether to attempt to load the global propertiespublic OpenJPAConfigurationImpl(boolean derivations,
boolean loadGlobals)
derivations - whether to apply product derivationsloadGlobals - whether to attempt to load the global propertiespublic Collection<String> supportedOptions()
OpenJPAConfigurationsupportedOptions in interface OpenJPAConfigurationpublic String getSpecification()
getSpecification in interface OpenJPAConfigurationpublic Specification getSpecificationInstance()
OpenJPAConfigurationgetSpecificationInstance in interface OpenJPAConfigurationpublic void setSpecification(String spec)
setSpecification in interface OpenJPAConfigurationspec - should be encoded in the format specified in Specification.Specificationpublic void setSpecification(Specification newSpec)
OpenJPAConfigurationcompatibility options during runtime.
This change will trigger all registered Product Derivations to mutate
other configuration properties.setSpecification in interface OpenJPAConfigurationnewSpec - fullname of the specification that possibly encodes major and
minor version information. For encoding formatSpecificationpublic void setClassResolver(String classResolver)
OpenJPAConfigurationClassResolver to use for custom
class loading.setClassResolver in interface OpenJPAConfigurationpublic String getClassResolver()
OpenJPAConfigurationClassResolver to use for custom
class loading.getClassResolver in interface OpenJPAConfigurationpublic void setClassResolver(ClassResolver classResolver)
OpenJPAConfigurationClassResolver to use.setClassResolver in interface OpenJPAConfigurationpublic ClassResolver getClassResolverInstance()
OpenJPAConfigurationClassResolver to use.getClassResolverInstance in interface OpenJPAConfigurationpublic void setBrokerFactory(String factory)
OpenJPAConfigurationBrokerFactory class to use.setBrokerFactory in interface OpenJPAConfigurationpublic String getBrokerFactory()
OpenJPAConfigurationBrokerFactory class to use.getBrokerFactory in interface OpenJPAConfigurationpublic void setBrokerImpl(String broker)
OpenJPAConfigurationBrokerImpl extension to create.setBrokerImpl in interface OpenJPAConfigurationpublic String getBrokerImpl()
OpenJPAConfigurationBrokerImpl extension to create.getBrokerImpl in interface OpenJPAConfigurationpublic BrokerImpl newBrokerInstance(String user, String pass)
OpenJPAConfigurationnewBrokerInstance in interface OpenJPAConfigurationpublic void setDataCacheManager(String mgr)
OpenJPAConfigurationsetDataCacheManager in interface OpenJPAConfigurationpublic String getDataCacheManager()
OpenJPAConfigurationgetDataCacheManager in interface OpenJPAConfigurationpublic void setDataCacheManager(DataCacheManager dcm)
OpenJPAConfigurationsetDataCacheManager in interface OpenJPAConfigurationpublic DataCacheManager getDataCacheManagerInstance()
OpenJPAConfigurationgetDataCacheManagerInstance in interface OpenJPAConfigurationpublic void setDataCache(String dataCache)
OpenJPAConfigurationDataCache to use for level-2 data store caching.setDataCache in interface OpenJPAConfigurationpublic String getDataCache()
OpenJPAConfigurationDataCache to use for level-2 data store caching.getDataCache in interface OpenJPAConfigurationpublic void setDataCacheTimeout(int dataCacheTimeout)
OpenJPAConfigurationsetDataCacheTimeout in interface OpenJPAConfigurationpublic void setDataCacheTimeout(Integer dataCacheTimeout)
OpenJPAConfigurationOpenJPAConfiguration.setDataCacheTimeout(int).setDataCacheTimeout in interface OpenJPAConfigurationpublic int getDataCacheTimeout()
OpenJPAConfigurationgetDataCacheTimeout in interface OpenJPAConfigurationpublic void setQueryCache(String queryCache)
OpenJPAConfigurationsetQueryCache in interface OpenJPAConfigurationpublic String getQueryCache()
OpenJPAConfigurationgetQueryCache in interface OpenJPAConfigurationpublic boolean getRefreshFromDataCache()
OpenJPAConfigurationDataCache.
The entities are never refreshed from DataCache if lock is being applied
(e.g. in a pessimistic transaction) and hence this setting only refers
to behavior when not locking.
This flag can be used to overwrite RetrieveMode.BYPASS.
By default, however, this falg is false.getRefreshFromDataCache in interface OpenJPAConfigurationpublic void setRefreshFromDataCache(boolean flag)
OpenJPAConfigurationDataCache.
The entities are never refreshed from DataCache if lock is being applied
(e.g. in a pessimistic transaction) and hence this setting only refers
to behavior when not locking.setRefreshFromDataCache in interface OpenJPAConfigurationpublic void setRefreshFromDataCache(Boolean flag)
OpenJPAConfigurationDataCache.
The entities are never refreshed from DataCache if lock is being applied
(e.g. in a pessimistic transaction) and hence this setting only refers
to behavior when not locking.setRefreshFromDataCache in interface OpenJPAConfigurationpublic boolean getDynamicDataStructs()
OpenJPAConfigurationgetDynamicDataStructs in interface OpenJPAConfigurationpublic void setDynamicDataStructs(boolean dynamic)
OpenJPAConfigurationsetDynamicDataStructs in interface OpenJPAConfigurationpublic void setDynamicDataStructs(Boolean dynamic)
OpenJPAConfigurationOpenJPAConfiguration.setDynamicDataStructs(boolean).setDynamicDataStructs in interface OpenJPAConfigurationpublic void setLockManager(String lockManager)
OpenJPAConfigurationsetLockManager in interface OpenJPAConfigurationpublic String getLockManager()
OpenJPAConfigurationgetLockManager in interface OpenJPAConfigurationpublic LockManager newLockManagerInstance()
OpenJPAConfigurationnewLockManagerInstance in interface OpenJPAConfigurationpublic void setInverseManager(String inverseManager)
OpenJPAConfigurationsetInverseManager in interface OpenJPAConfigurationpublic String getInverseManager()
OpenJPAConfigurationgetInverseManager in interface OpenJPAConfigurationpublic InverseManager newInverseManagerInstance()
OpenJPAConfigurationnewInverseManagerInstance in interface OpenJPAConfigurationpublic void setSavepointManager(String savepointManager)
OpenJPAConfigurationsetSavepointManager in interface OpenJPAConfigurationpublic String getSavepointManager()
OpenJPAConfigurationgetSavepointManager in interface OpenJPAConfigurationpublic SavepointManager getSavepointManagerInstance()
OpenJPAConfigurationgetSavepointManagerInstance in interface OpenJPAConfigurationpublic void setOrphanedKeyAction(String action)
OpenJPAConfigurationsetOrphanedKeyAction in interface OpenJPAConfigurationpublic String getOrphanedKeyAction()
OpenJPAConfigurationgetOrphanedKeyAction in interface OpenJPAConfigurationpublic OrphanedKeyAction getOrphanedKeyActionInstance()
OpenJPAConfigurationgetOrphanedKeyActionInstance in interface OpenJPAConfigurationpublic void setOrphanedKeyAction(OrphanedKeyAction action)
OpenJPAConfigurationsetOrphanedKeyAction in interface OpenJPAConfigurationpublic void setRemoteCommitProvider(String remoteCommitProvider)
OpenJPAConfigurationsetRemoteCommitProvider in interface OpenJPAConfigurationpublic String getRemoteCommitProvider()
OpenJPAConfigurationgetRemoteCommitProvider in interface OpenJPAConfigurationpublic RemoteCommitProvider newRemoteCommitProviderInstance()
OpenJPAConfigurationnewRemoteCommitProviderInstance in interface OpenJPAConfigurationpublic void setRemoteCommitEventManager(RemoteCommitEventManager remoteEventManager)
OpenJPAConfigurationsetRemoteCommitEventManager in interface OpenJPAConfigurationpublic RemoteCommitEventManager getRemoteCommitEventManager()
OpenJPAConfigurationgetRemoteCommitEventManager in interface OpenJPAConfigurationpublic void setTransactionMode(String transactionMode)
OpenJPAConfigurationlocal: Perform transaction operations locally.managed: Use managed environment's global
transactions.setTransactionMode in interface OpenJPAConfigurationpublic String getTransactionMode()
OpenJPAConfigurationlocal: Perform transaction operations locally.managed: Use managed environment's global
transactions.getTransactionMode in interface OpenJPAConfigurationpublic void setTransactionModeManaged(boolean managed)
OpenJPAConfigurationsetTransactionModeManaged in interface OpenJPAConfigurationpublic boolean isTransactionModeManaged()
OpenJPAConfigurationisTransactionModeManaged in interface OpenJPAConfigurationpublic void setManagedRuntime(String managedRuntime)
OpenJPAConfigurationManagedRuntime to use for managed
environments.setManagedRuntime in interface OpenJPAConfigurationpublic String getManagedRuntime()
OpenJPAConfigurationManagedRuntime to use for managed
environments.getManagedRuntime in interface OpenJPAConfigurationpublic void setManagedRuntime(ManagedRuntime managedRuntime)
OpenJPAConfigurationsetManagedRuntime in interface OpenJPAConfigurationpublic ManagedRuntime getManagedRuntimeInstance()
OpenJPAConfigurationgetManagedRuntimeInstance in interface OpenJPAConfigurationpublic void setProxyManager(String proxyManager)
OpenJPAConfigurationProxyManager to use for second
class object proxies.setProxyManager in interface OpenJPAConfigurationpublic String getProxyManager()
OpenJPAConfigurationProxyManager to use for second
class object proxies.getProxyManager in interface OpenJPAConfigurationpublic void setProxyManager(ProxyManager proxyManager)
OpenJPAConfigurationProxyManager to use.setProxyManager in interface OpenJPAConfigurationpublic ProxyManager getProxyManagerInstance()
OpenJPAConfigurationProxyManager to use.getProxyManagerInstance in interface OpenJPAConfigurationpublic void setMapping(String mapping)
OpenJPAConfigurationsetMapping in interface OpenJPAConfigurationpublic String getMapping()
OpenJPAConfigurationgetMapping in interface OpenJPAConfigurationpublic void setMetaDataFactory(String meta)
OpenJPAConfigurationMetaDataFactory to use.setMetaDataFactory in interface OpenJPAConfigurationpublic String getMetaDataFactory()
OpenJPAConfigurationMetaDataFactory to use.getMetaDataFactory in interface OpenJPAConfigurationpublic MetaDataFactory newMetaDataFactoryInstance()
OpenJPAConfigurationMetaDataFactory to use with a repository.newMetaDataFactoryInstance in interface OpenJPAConfigurationpublic void setMetaDataRepository(String meta)
OpenJPAConfigurationMetaDataRepository to use.setMetaDataRepository in interface OpenJPAConfigurationpublic String getMetaDataRepository()
OpenJPAConfigurationMetaDataRepository to use.getMetaDataRepository in interface OpenJPAConfigurationpublic void setMetaDataRepository(MetaDataRepository meta)
OpenJPAConfigurationsetMetaDataRepository in interface OpenJPAConfigurationpublic MetaDataRepository getMetaDataRepositoryInstance()
OpenJPAConfigurationgetMetaDataRepositoryInstance in interface OpenJPAConfigurationpublic boolean metaDataRepositoryAvailable()
OpenJPAConfigurationmetaDataRepositoryAvailable in interface OpenJPAConfigurationpublic MetaDataRepository newMetaDataRepositoryInstance()
OpenJPAConfigurationnewMetaDataRepositoryInstance in interface OpenJPAConfigurationpublic void setConnectionUserName(String connectionUserName)
OpenJPAConfigurationsetConnectionUserName in interface OpenJPAConfigurationpublic String getConnectionUserName()
OpenJPAConfigurationgetConnectionUserName in interface OpenJPAConfigurationpublic void setConnectionPassword(String connectionPassword)
OpenJPAConfigurationsetConnectionPassword in interface OpenJPAConfigurationpublic String getConnectionPassword()
OpenJPAConfigurationgetConnectionPassword in interface OpenJPAConfigurationpublic void setConnectionURL(String connectionURL)
OpenJPAConfigurationsetConnectionURL in interface OpenJPAConfigurationpublic String getConnectionURL()
OpenJPAConfigurationgetConnectionURL in interface OpenJPAConfigurationpublic void setConnectionDriverName(String driverName)
OpenJPAConfigurationsetConnectionDriverName in interface OpenJPAConfigurationpublic String getConnectionDriverName()
OpenJPAConfigurationgetConnectionDriverName in interface OpenJPAConfigurationpublic void setConnectionProperties(String connectionProperties)
OpenJPAConfigurationsetConnectionProperties in interface OpenJPAConfigurationpublic String getConnectionProperties()
OpenJPAConfigurationgetConnectionProperties in interface OpenJPAConfigurationpublic void setConnectionFactoryProperties(String connectionFactoryProperties)
OpenJPAConfigurationsetConnectionFactoryProperties in interface OpenJPAConfigurationpublic String getConnectionFactoryProperties()
OpenJPAConfigurationgetConnectionFactoryProperties in interface OpenJPAConfigurationpublic String getConnectionFactoryMode()
OpenJPAConfigurationgetConnectionFactoryMode in interface OpenJPAConfigurationpublic void setConnectionFactoryMode(String mode)
OpenJPAConfigurationsetConnectionFactoryMode in interface OpenJPAConfigurationpublic boolean isConnectionFactoryModeManaged()
OpenJPAConfigurationisConnectionFactoryModeManaged in interface OpenJPAConfigurationpublic void setConnectionFactoryModeManaged(boolean managed)
OpenJPAConfigurationsetConnectionFactoryModeManaged in interface OpenJPAConfigurationpublic void setConnectionFactoryName(String connectionFactoryName)
OpenJPAConfigurationsetConnectionFactoryName in interface OpenJPAConfigurationpublic String getConnectionFactoryName()
OpenJPAConfigurationgetConnectionFactoryName in interface OpenJPAConfigurationpublic void setConnectionFactory(Object factory)
OpenJPAConfigurationsetConnectionFactory in interface OpenJPAConfigurationpublic Object getConnectionFactory()
OpenJPAConfigurationgetConnectionFactory in interface OpenJPAConfigurationpublic void setConnection2UserName(String connection2UserName)
OpenJPAConfigurationsetConnection2UserName in interface OpenJPAConfigurationpublic String getConnection2UserName()
OpenJPAConfigurationgetConnection2UserName in interface OpenJPAConfigurationpublic void setConnection2Password(String connection2Password)
OpenJPAConfigurationsetConnection2Password in interface OpenJPAConfigurationpublic String getConnection2Password()
OpenJPAConfigurationgetConnection2Password in interface OpenJPAConfigurationpublic void setConnection2URL(String connection2URL)
OpenJPAConfigurationsetConnection2URL in interface OpenJPAConfigurationpublic String getConnection2URL()
OpenJPAConfigurationgetConnection2URL in interface OpenJPAConfigurationpublic void setConnection2DriverName(String driverName)
OpenJPAConfigurationsetConnection2DriverName in interface OpenJPAConfigurationpublic String getConnection2DriverName()
OpenJPAConfigurationgetConnection2DriverName in interface OpenJPAConfigurationpublic void setConnection2Properties(String connection2Properties)
OpenJPAConfigurationsetConnection2Properties in interface OpenJPAConfigurationpublic String getConnection2Properties()
OpenJPAConfigurationgetConnection2Properties in interface OpenJPAConfigurationpublic void setConnectionFactory2Properties(String connectionFactory2Properties)
OpenJPAConfigurationsetConnectionFactory2Properties in interface OpenJPAConfigurationpublic String getConnectionFactory2Properties()
OpenJPAConfigurationgetConnectionFactory2Properties in interface OpenJPAConfigurationpublic void setConnectionFactory2Name(String connectionFactory2Name)
OpenJPAConfigurationsetConnectionFactory2Name in interface OpenJPAConfigurationpublic String getConnectionFactory2Name()
OpenJPAConfigurationgetConnectionFactory2Name in interface OpenJPAConfigurationpublic void setConnectionFactory2(Object factory)
OpenJPAConfigurationsetConnectionFactory2 in interface OpenJPAConfigurationpublic Object getConnectionFactory2()
OpenJPAConfigurationgetConnectionFactory2 in interface OpenJPAConfigurationpublic void setOptimistic(boolean optimistic)
OpenJPAConfigurationsetOptimistic in interface OpenJPAConfigurationpublic void setOptimistic(Boolean optimistic)
OpenJPAConfigurationOpenJPAConfiguration.setOptimistic(boolean).setOptimistic in interface OpenJPAConfigurationpublic boolean getOptimistic()
OpenJPAConfigurationgetOptimistic in interface OpenJPAConfigurationpublic void setAutoClear(String clear)
OpenJPAConfigurationsetAutoClear in interface OpenJPAConfigurationpublic String getAutoClear()
OpenJPAConfigurationgetAutoClear in interface OpenJPAConfigurationpublic void setAutoClear(int clear)
OpenJPAConfigurationsetAutoClear in interface OpenJPAConfigurationpublic int getAutoClearConstant()
OpenJPAConfigurationAutoClear constant.getAutoClearConstant in interface OpenJPAConfigurationpublic void setRetainState(boolean retainState)
OpenJPAConfigurationsetRetainState in interface OpenJPAConfigurationpublic void setRetainState(Boolean retainState)
OpenJPAConfigurationOpenJPAConfiguration.setRetainState(boolean).setRetainState in interface OpenJPAConfigurationpublic boolean getRetainState()
OpenJPAConfigurationgetRetainState in interface OpenJPAConfigurationpublic void setRestoreState(String restoreState)
OpenJPAConfigurationsetRestoreState in interface OpenJPAConfigurationpublic String getRestoreState()
OpenJPAConfigurationgetRestoreState in interface OpenJPAConfigurationpublic void setRestoreState(int restoreState)
OpenJPAConfigurationsetRestoreState in interface OpenJPAConfigurationpublic int getRestoreStateConstant()
OpenJPAConfigurationRestoreState constant.getRestoreStateConstant in interface OpenJPAConfigurationpublic void setAutoDetach(String autoDetach)
OpenJPAConfigurationcommit: When the current transaction commits.close: When the broker closes.nontx-read: When instances are read
non-transactionally.setAutoDetach in interface OpenJPAConfigurationpublic String getAutoDetach()
OpenJPAConfigurationcommit: When the current transaction commits.close: When the broker closes.nontx-read: When instances are read
non-transactionally.getAutoDetach in interface OpenJPAConfigurationpublic void setAutoDetach(int autoDetachFlags)
OpenJPAConfigurationAutoDetach flags.setAutoDetach in interface OpenJPAConfigurationpublic int getAutoDetachConstant()
OpenJPAConfigurationAutoDetach flags.getAutoDetachConstant in interface OpenJPAConfigurationpublic void setDetachState(String detachState)
OpenJPAConfigurationsetDetachState in interface OpenJPAConfigurationpublic String getDetachState()
public void setDetachState(DetachOptions detachState)
OpenJPAConfigurationsetDetachState in interface OpenJPAConfigurationpublic DetachOptions getDetachStateInstance()
OpenJPAConfigurationgetDetachStateInstance in interface OpenJPAConfigurationpublic void setIgnoreChanges(boolean ignoreChanges)
OpenJPAConfigurationsetIgnoreChanges in interface OpenJPAConfigurationpublic void setIgnoreChanges(Boolean ignoreChanges)
OpenJPAConfigurationOpenJPAConfiguration.setIgnoreChanges(boolean).setIgnoreChanges in interface OpenJPAConfigurationpublic boolean getIgnoreChanges()
OpenJPAConfigurationgetIgnoreChanges in interface OpenJPAConfigurationpublic void setNontransactionalRead(boolean nontransactionalRead)
OpenJPAConfigurationsetNontransactionalRead in interface OpenJPAConfigurationpublic void setNontransactionalRead(Boolean nontransactionalRead)
OpenJPAConfigurationOpenJPAConfiguration.setNontransactionalRead(boolean).setNontransactionalRead in interface OpenJPAConfigurationpublic boolean getNontransactionalRead()
OpenJPAConfigurationgetNontransactionalRead in interface OpenJPAConfigurationpublic void setNontransactionalWrite(boolean nontransactionalWrite)
OpenJPAConfigurationsetNontransactionalWrite in interface OpenJPAConfigurationpublic void setNontransactionalWrite(Boolean nontransactionalWrite)
OpenJPAConfigurationOpenJPAConfiguration.setNontransactionalWrite(boolean).setNontransactionalWrite in interface OpenJPAConfigurationpublic boolean getNontransactionalWrite()
OpenJPAConfigurationgetNontransactionalWrite in interface OpenJPAConfigurationpublic void setMultithreaded(boolean multithreaded)
OpenJPAConfigurationsetMultithreaded in interface OpenJPAConfigurationpublic void setMultithreaded(Boolean multithreaded)
OpenJPAConfigurationOpenJPAConfiguration.setMultithreaded(boolean).setMultithreaded in interface OpenJPAConfigurationpublic boolean getMultithreaded()
OpenJPAConfigurationgetMultithreaded in interface OpenJPAConfigurationpublic void setFetchBatchSize(int fetchBatchSize)
OpenJPAConfigurationsetFetchBatchSize in interface OpenJPAConfigurationpublic void setFetchBatchSize(Integer fetchBatchSize)
OpenJPAConfigurationOpenJPAConfiguration.setFetchBatchSize(int).setFetchBatchSize in interface OpenJPAConfigurationpublic int getFetchBatchSize()
OpenJPAConfigurationgetFetchBatchSize in interface OpenJPAConfigurationpublic void setMaxFetchDepth(int maxFetchDepth)
OpenJPAConfigurationsetMaxFetchDepth in interface OpenJPAConfigurationpublic void setMaxFetchDepth(Integer maxFetchDepth)
OpenJPAConfigurationOpenJPAConfiguration.setMaxFetchDepth(int).setMaxFetchDepth in interface OpenJPAConfigurationpublic int getMaxFetchDepth()
OpenJPAConfigurationgetMaxFetchDepth in interface OpenJPAConfigurationpublic void setFetchGroups(String fetchGroups)
OpenJPAConfigurationFetchConfigurations.setFetchGroups in interface OpenJPAConfigurationpublic String getFetchGroups()
OpenJPAConfigurationFetchConfigurations.getFetchGroups in interface OpenJPAConfigurationpublic String[] getFetchGroupsList()
OpenJPAConfigurationFetchConfigurations.getFetchGroupsList in interface OpenJPAConfigurationpublic void setFetchGroups(String[] fetchGroups)
OpenJPAConfigurationFetchConfigurations.setFetchGroups in interface OpenJPAConfigurationpublic void setFlushBeforeQueries(String flush)
OpenJPAConfigurationsetFlushBeforeQueries in interface OpenJPAConfigurationpublic String getFlushBeforeQueries()
OpenJPAConfigurationgetFlushBeforeQueries in interface OpenJPAConfigurationpublic void setFlushBeforeQueries(int flush)
OpenJPAConfigurationQueryFlushModes.FLUSH_TRUE,
QueryFlushModes.FLUSH_FALSE, or
QueryFlushModes.FLUSH_WITH_CONNECTION.setFlushBeforeQueries in interface OpenJPAConfigurationpublic int getFlushBeforeQueriesConstant()
OpenJPAConfigurationQueryFlushModes.FLUSH_TRUE,
QueryFlushModes.FLUSH_FALSE, or
QueryFlushModes.FLUSH_WITH_CONNECTION, as determined
by parsing the string returned by OpenJPAConfiguration.getFlushBeforeQueries().getFlushBeforeQueriesConstant in interface OpenJPAConfigurationpublic void setLockTimeout(int timeout)
OpenJPAConfigurationsetLockTimeout in interface OpenJPAConfigurationpublic void setLockTimeout(Integer timeout)
OpenJPAConfigurationOpenJPAConfiguration.setLockTimeout(int).setLockTimeout in interface OpenJPAConfigurationpublic int getLockTimeout()
OpenJPAConfigurationgetLockTimeout in interface OpenJPAConfigurationpublic int getQueryTimeout()
OpenJPAConfigurationgetQueryTimeout in interface OpenJPAConfigurationpublic void setQueryTimeout(int timeout)
OpenJPAConfigurationsetQueryTimeout in interface OpenJPAConfigurationpublic void setReadLockLevel(String level)
OpenJPAConfigurationread.setReadLockLevel in interface OpenJPAConfigurationpublic String getReadLockLevel()
OpenJPAConfigurationread.getReadLockLevel in interface OpenJPAConfigurationpublic void setReadLockLevel(int level)
OpenJPAConfigurationsetReadLockLevel in interface OpenJPAConfigurationpublic int getReadLockLevelConstant()
OpenJPAConfigurationgetReadLockLevelConstant in interface OpenJPAConfigurationpublic void setWriteLockLevel(String level)
OpenJPAConfigurationwrite.setWriteLockLevel in interface OpenJPAConfigurationpublic String getWriteLockLevel()
OpenJPAConfigurationwrite.getWriteLockLevel in interface OpenJPAConfigurationpublic void setWriteLockLevel(int level)
OpenJPAConfigurationsetWriteLockLevel in interface OpenJPAConfigurationpublic int getWriteLockLevelConstant()
OpenJPAConfigurationgetWriteLockLevelConstant in interface OpenJPAConfigurationpublic void setSequence(String sequence)
OpenJPAConfigurationSeq.setSequence in interface OpenJPAConfigurationpublic String getSequence()
OpenJPAConfigurationSeq.getSequence in interface OpenJPAConfigurationpublic void setSequence(Seq seq)
OpenJPAConfigurationsetSequence in interface OpenJPAConfigurationpublic Seq getSequenceInstance()
OpenJPAConfigurationgetSequenceInstance in interface OpenJPAConfigurationpublic void setConnectionRetainMode(String connectionRetainMode)
OpenJPAConfigurationalways: Each broker obtains a single connection and
uses it until the broker is closed.transaction: A connection is obtained when each
transaction begins (optimistic or datastore), and is released
when the transaction completes.on-demand: Connections are obtained only when needed.
This is the default mode. It is equivalent to the previous option
when datastore transactions are used. For optimistic transactions,
though, it means that a connection will be retained only for
the duration of the data store commit process.setConnectionRetainMode in interface OpenJPAConfigurationpublic String getConnectionRetainMode()
OpenJPAConfigurationalways: Each broker obtains a single connection and
uses it until the broker is closed.transaction: A connection is obtained when each
transaction begins (optimistic or datastore), and is released
when the transaction completes.on-demand: Connections are obtained only when needed.
This is the default mode. It is equivalent to the previous option
when datastore transactions are used. For optimistic transactions,
though, it means that a connection will be retained only for
the duration of the data store commit process.getConnectionRetainMode in interface OpenJPAConfigurationpublic void setConnectionRetainMode(int connectionRetainMode)
OpenJPAConfigurationsetConnectionRetainMode in interface OpenJPAConfigurationpublic int getConnectionRetainModeConstant()
OpenJPAConfigurationgetConnectionRetainModeConstant in interface OpenJPAConfigurationpublic void setFilterListeners(String filterListeners)
OpenJPAConfigurationFilterListeners to use.setFilterListeners in interface OpenJPAConfigurationpublic String getFilterListeners()
OpenJPAConfigurationFilterListeners to use.getFilterListeners in interface OpenJPAConfigurationpublic void setFilterListeners(FilterListener[] listeners)
OpenJPAConfigurationsetFilterListeners in interface OpenJPAConfigurationpublic FilterListener[] getFilterListenerInstances()
OpenJPAConfigurationgetFilterListenerInstances in interface OpenJPAConfigurationpublic void setAggregateListeners(String aggregateListeners)
OpenJPAConfigurationAggregateListeners to use.setAggregateListeners in interface OpenJPAConfigurationpublic String getAggregateListeners()
OpenJPAConfigurationAggregateListeners to use.getAggregateListeners in interface OpenJPAConfigurationpublic void setAggregateListeners(AggregateListener[] listeners)
OpenJPAConfigurationsetAggregateListeners in interface OpenJPAConfigurationpublic AggregateListener[] getAggregateListenerInstances()
OpenJPAConfigurationgetAggregateListenerInstances in interface OpenJPAConfigurationpublic void setRetryClassRegistration(boolean retry)
OpenJPAConfigurationfalse.setRetryClassRegistration in interface OpenJPAConfigurationpublic void setRetryClassRegistration(Boolean retry)
OpenJPAConfigurationOpenJPAConfiguration.setRetryClassRegistration(boolean).setRetryClassRegistration in interface OpenJPAConfigurationpublic boolean getRetryClassRegistration()
OpenJPAConfigurationfalse.getRetryClassRegistration in interface OpenJPAConfigurationpublic String getCompatibility()
OpenJPAConfigurationgetCompatibility in interface OpenJPAConfigurationpublic void setCompatibility(String compatibility)
OpenJPAConfigurationsetCompatibility in interface OpenJPAConfigurationpublic Compatibility getCompatibilityInstance()
getCompatibilityInstance in interface OpenJPAConfigurationpublic String getCallbackOptions()
OpenJPAConfigurationgetCallbackOptions in interface OpenJPAConfigurationpublic void setCallbackOptions(String options)
OpenJPAConfigurationsetCallbackOptions in interface OpenJPAConfigurationpublic CallbackOptions getCallbackOptionsInstance()
OpenJPAConfigurationgetCallbackOptionsInstance in interface OpenJPAConfigurationpublic String getQueryCompilationCache()
OpenJPAConfigurationgetQueryCompilationCache in interface OpenJPAConfigurationQueryCompilationCacheValuepublic void setQueryCompilationCache(String queryCompilationCache)
OpenJPAConfigurationsetQueryCompilationCache in interface OpenJPAConfigurationQueryCompilationCacheValuepublic Map getQueryCompilationCacheInstance()
OpenJPAConfigurationgetQueryCompilationCacheInstance in interface OpenJPAConfigurationQueryCompilationCacheValuepublic StoreFacadeTypeRegistry getStoreFacadeTypeRegistry()
OpenJPAConfigurationStoreFacadeTypeRegistry instance associated with this
configuration.getStoreFacadeTypeRegistry in interface OpenJPAConfigurationpublic BrokerFactoryEventManager getBrokerFactoryEventManager()
OpenJPAConfigurationBrokerFactoryEventManager
associated with this configuration.getBrokerFactoryEventManager in interface OpenJPAConfigurationpublic String getRuntimeUnenhancedClasses()
OpenJPAConfigurationsupported: Runtime optimization of persistent types
is available. This is the defaultunsupported: Runtime optimization of persistent types
is not available. An exception will be thrown if the system loads with
persistent types that are not enhanced.warn: Runtime optimization of persistent types is
not available, but no exception will be thrown initially. A warning will
be logged instead. It is likely that the system will fail at a later
point. This might be suitable for environments with complex classloader
configurations.getRuntimeUnenhancedClasses in interface OpenJPAConfigurationpublic int getRuntimeUnenhancedClassesConstant()
OpenJPAConfigurationgetRuntimeUnenhancedClassesConstant in interface OpenJPAConfigurationpublic void setRuntimeUnenhancedClasses(int mode)
OpenJPAConfigurationsetRuntimeUnenhancedClasses in interface OpenJPAConfigurationpublic void setRuntimeUnenhancedClasses(String mode)
OpenJPAConfigurationsetRuntimeUnenhancedClasses in interface OpenJPAConfiguration#getRuntimeUnenhancedClasses()}public String getCacheMarshallers()
OpenJPAConfigurationCacheMarshallers to use.getCacheMarshallers in interface OpenJPAConfigurationpublic void setCacheMarshallers(String marshallers)
OpenJPAConfigurationCacheMarshallers to use.setCacheMarshallers in interface OpenJPAConfigurationpublic Map getCacheMarshallerInstances()
OpenJPAConfigurationgetCacheMarshallerInstances in interface OpenJPAConfigurationpublic boolean isInitializeEagerly()
OpenJPAConfigurationisInitializeEagerly in interface OpenJPAConfigurationpublic void setInitializeEagerly(boolean retry)
OpenJPAConfigurationsetInitializeEagerly in interface OpenJPAConfigurationpublic void setValidationMode(String mode)
OpenJPAConfigurationAUTO.setValidationMode in interface OpenJPAConfigurationpublic String getValidationMode()
OpenJPAConfigurationAUTO.getValidationMode in interface OpenJPAConfigurationpublic void setValidationGroupPrePersist(String vgPrePersist)
OpenJPAConfigurationsetValidationGroupPrePersist in interface OpenJPAConfigurationpublic String getValidationGroupPrePersist()
OpenJPAConfigurationgetValidationGroupPrePersist in interface OpenJPAConfigurationpublic void setValidationGroupPreUpdate(String vgPreUpdate)
OpenJPAConfigurationsetValidationGroupPreUpdate in interface OpenJPAConfigurationpublic String getValidationGroupPreUpdate()
OpenJPAConfigurationgetValidationGroupPreUpdate in interface OpenJPAConfigurationpublic void setValidationGroupPreRemove(String vgPreRemove)
OpenJPAConfigurationsetValidationGroupPreRemove in interface OpenJPAConfigurationpublic String getValidationGroupPreRemove()
OpenJPAConfigurationgetValidationGroupPreRemove in interface OpenJPAConfigurationpublic String getInstrumentation()
OpenJPAConfigurationgetInstrumentation in interface OpenJPAConfigurationpublic void setInstrumentation(String providers)
OpenJPAConfigurationsetInstrumentation in interface OpenJPAConfigurationproviders - a plug-in string for the instrumentation configurationpublic InstrumentationProvider[] getInstrumentationInstances()
public void setInstrumentationManager(String mgr)
public String getInstrumentationManager()
public void setInstrumentationManager(InstrumentationManager im)
public InstrumentationManager getInstrumentationManagerInstance()
OpenJPAConfigurationgetInstrumentationManagerInstance in interface OpenJPAConfigurationpublic void instantiateAll()
ConfigurationinstantiateAll in interface ConfigurationinstantiateAll in class ConfigurationImplprotected void preClose()
ConfigurationImplConfigurationImpl.close() after invoking the
ProductDerivation.beforeConfigurationClose(org.apache.openjpa.lib.conf.Configuration) callbacks
but before performing internal close operations.preClose in class ConfigurationImplpublic Log getConfigurationLog()
ConfigurationImplopenjpa.Runtime by default.getConfigurationLog in interface ConfigurationgetConfigurationLog in class ConfigurationImplpublic void setQuerySQLCache(String querySQLCache)
OpenJPAConfigurationsetQuerySQLCache in interface OpenJPAConfigurationpublic void setQuerySQLCache(PreparedQueryCache querySQLCache)
OpenJPAConfigurationsetQuerySQLCache in interface OpenJPAConfigurationpublic String getQuerySQLCache()
OpenJPAConfigurationgetQuerySQLCache in interface OpenJPAConfigurationpublic PreparedQueryCache getQuerySQLCacheInstance()
OpenJPAConfigurationgetQuerySQLCacheInstance in interface OpenJPAConfigurationpublic void setFinderCache(String finderCache)
OpenJPAConfigurationsetFinderCache in interface OpenJPAConfigurationpublic String getFinderCache()
OpenJPAConfigurationgetFinderCache in interface OpenJPAConfigurationpublic FinderCache getFinderCacheInstance()
OpenJPAConfigurationgetFinderCacheInstance in interface OpenJPAConfigurationpublic Object getValidationFactoryInstance()
OpenJPAConfigurationnull.getValidationFactoryInstance in interface OpenJPAConfigurationpublic void setValidationFactory(Object factory)
OpenJPAConfigurationnull.setValidationFactory in interface OpenJPAConfigurationpublic Object getValidatorInstance()
OpenJPAConfigurationnull.getValidatorInstance in interface OpenJPAConfigurationpublic void setValidatorInstance(Object val)
OpenJPAConfigurationnull.setValidatorInstance in interface OpenJPAConfigurationpublic String getLifecycleEventManager()
OpenJPAConfigurationgetLifecycleEventManager in interface OpenJPAConfigurationpublic LifecycleEventManager getLifecycleEventManagerInstance()
OpenJPAConfigurationgetLifecycleEventManagerInstance in interface OpenJPAConfigurationpublic void setLifecycleEventManager(String lem)
OpenJPAConfigurationsetLifecycleEventManager in interface OpenJPAConfigurationpublic boolean getDynamicEnhancementAgent()
OpenJPAConfigurationgetDynamicEnhancementAgent in interface OpenJPAConfigurationpublic void setDynamicEnhancementAgent(boolean dynamic)
OpenJPAConfigurationsetDynamicEnhancementAgent in interface OpenJPAConfigurationpublic void setEncryptionProvider(String p)
OpenJPAConfigurationEncryptionProvider.setEncryptionProvider in interface OpenJPAConfigurationpublic EncryptionProvider getEncryptionProvider()
OpenJPAConfigurationEncryptionProvider.getEncryptionProvider in interface OpenJPAConfigurationpublic void setDataCacheMode(String mode)
OpenJPAConfigurationDataCacheModesetDataCacheMode in interface OpenJPAConfigurationmode - One of the Sting constants from DataCacheModepublic String getDataCacheMode()
OpenJPAConfigurationDataCacheModegetDataCacheMode in interface OpenJPAConfigurationpublic String getCacheDistributionPolicy()
OpenJPAConfigurationgetCacheDistributionPolicy in interface OpenJPAConfigurationCacheDistributionPolicy.public CacheDistributionPolicy getCacheDistributionPolicyInstance()
OpenJPAConfigurationgetCacheDistributionPolicyInstance in interface OpenJPAConfigurationCacheDistributionPolicy.public void setCacheDistributionPolicy(String policyPlugin)
OpenJPAConfigurationsetCacheDistributionPolicy in interface OpenJPAConfigurationpublic void setCacheDistributionPolicyInstance(CacheDistributionPolicy policy)
OpenJPAConfigurationsetCacheDistributionPolicyInstance in interface OpenJPAConfigurationpolicy - a non-null implementation of CacheDistributionPolicy.public Auditor getAuditorInstance()
OpenJPAConfigurationAuditor associated with this configuration.getAuditorInstance in interface OpenJPAConfigurationpublic void setAuditorInstance(Auditor auditor)
OpenJPAConfigurationAuditor associated with this configuration.setAuditorInstance in interface OpenJPAConfigurationpublic String getAuditor()
OpenJPAConfigurationAuditor specified in this configuration.getAuditor in interface OpenJPAConfigurationpublic void setAuditor(String auditor)
OpenJPAConfigurationAuditor specified in this configuration.setAuditor in interface OpenJPAConfigurationpublic boolean getPostLoadOnMerge()
OpenJPAConfigurationgetPostLoadOnMerge in interface OpenJPAConfigurationpublic void setPostLoadOnMerge(boolean postLoadOnMerge)
OpenJPAConfigurationsetPostLoadOnMerge in interface OpenJPAConfigurationpublic void setPostLoadOnMerge(Boolean postLoadOnMerge)
OpenJPAConfigurationsetPostLoadOnMerge in interface OpenJPAConfigurationpublic boolean getOptimizeIdCopy()
OpenJPAConfigurationgetOptimizeIdCopy in interface OpenJPAConfigurationpublic void setOptimizeIdCopy(boolean optimizeId)
OpenJPAConfigurationsetOptimizeIdCopy in interface OpenJPAConfigurationpublic void setOptimizeIdCopy(Boolean optimizeId)
OpenJPAConfigurationsetOptimizeIdCopy in interface OpenJPAConfigurationpublic String getDatabaseAction()
OpenJPAConfigurationgetDatabaseAction in interface OpenJPAConfigurationpublic int getDatabaseActionConstant()
getDatabaseActionConstant in interface OpenJPAConfigurationOpenJPAConfiguration.getDatabaseAction()public String getScriptsAction()
OpenJPAConfigurationOpenJPAConfiguration.getDatabaseAction() but write the generated SQL
to files.getScriptsAction in interface OpenJPAConfigurationOpenJPAConfiguration.getDatabaseAction()public int getScriptsActionConstant()
getScriptsActionConstant in interface OpenJPAConfigurationOpenJPAConfiguration.getScriptsAction()public String getCreateSource()
OpenJPAConfigurationOpenJPAConfiguration.getCreateScriptSource()getCreateSource in interface OpenJPAConfigurationOpenJPAConfiguration.getScriptsAction()public int getCreateSourceConstant()
getCreateSourceConstant in interface OpenJPAConfigurationOpenJPAConfiguration.getCreateSource()public String getDropSource()
OpenJPAConfigurationOpenJPAConfiguration.getCreateSource() but for dropping the database schema and content.getDropSource in interface OpenJPAConfigurationOpenJPAConfiguration.getCreateSource()public int getDropSourceConstant()
getDropSourceConstant in interface OpenJPAConfigurationOpenJPAConfiguration.getDatabaseAction()public String getCreateScriptSource()
getCreateScriptSource in interface OpenJPAConfigurationOpenJPAConfiguration.getDatabaseAction()public String getDropScriptSource()
getDropScriptSource in interface OpenJPAConfigurationOpenJPAConfiguration.getCreateSource()public String getCreateScriptTarget()
getCreateScriptTarget in interface OpenJPAConfiguration'script'public String getDropScriptTarget()
getDropScriptTarget in interface OpenJPAConfiguration'script'public String getLoadScriptSource()
OpenJPAConfigurationgetLoadScriptSource in interface OpenJPAConfigurationpublic boolean getUseTCCLinSelectNew()
OpenJPAConfigurationThread.contextClassLoader should be used
as fallback if the result class for select new is not found
by the classloader of the entity.getUseTCCLinSelectNew in interface OpenJPAConfigurationpublic void setUseTCCLinSelectNew(boolean useTcclForSelectNew)
OpenJPAConfigurationThread.contextClassLoader should be used
as fallback if the result class for select new is not found
by the classloader of the entity.setUseTCCLinSelectNew in interface OpenJPAConfigurationpublic void setUseTCCLinSelectNew(Boolean useTcclForSelectNew)
OpenJPAConfigurationThread.contextClassLoader should be used
as fallback if the result class for select new is not found
by the classloader of the entity.setUseTCCLinSelectNew in interface OpenJPAConfigurationpublic Collection<Class<?>> getTypesWithoutEnhancement()
getTypesWithoutEnhancement in interface OpenJPAConfigurationpublic void setTypesWithoutEnhancement(Collection<Class<?>> value)
setTypesWithoutEnhancement in interface OpenJPAConfigurationOpenJPAConfiguration.getTypesWithoutEnhancement()Copyright © 2006–2022 Apache Software Foundation. All rights reserved.