|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.PMFConfiguration
public abstract class PMFConfiguration
User configuration for the PMF. All properties should have setter/getter, and should have a "PropertySetter" to allow loading of the property from the PMF Properties.
| Nested Class Summary | |
|---|---|
protected static interface |
PMFConfiguration.ObjectPropertySetter
Interface allowing setting properties on a PMF with Object property values. |
protected static interface |
PMFConfiguration.StringPropertySetter
Interface allowing setting properties on a PMF with String property values. |
| Field Summary | |
|---|---|
static java.lang.String |
ADD_UNIQUE_CONSTRAINT_MAP_INVERSE_PROPERTY
Property defining whether to add unique constraints to the element table for a map inverse field |
static java.lang.String |
ATTACH_SAME_DATASTORE_PROPERTY
Property for whether we can assume that any attach is to the same datastore as the detach. |
static java.lang.String |
AUTO_CREATE_COLUMNS_PROPERTY
Property for whether to auto create the columns upon loading. |
static java.lang.String |
AUTO_CREATE_CONSTRAINTS_PROPERTY
The system property that selects the default value for the AutoCreateConstraints setting. |
static java.lang.String |
AUTO_CREATE_SCHEMA_PROPERTY
Property for whether to auto create the schema upon loading. |
static java.lang.String |
AUTO_CREATE_TABLES_PROPERTY
Property for whether to auto create the tables upon loading. |
static java.lang.String |
AUTO_CREATE_WARN_ON_ERROR_PROPERTY
Property for whether to warn only when receiving an error on auto creation. |
static java.lang.String |
AUTO_START_CLASS_NAMES_PROPERTY
Property defining the names of the classes whose MetaData is to be loaded at startup. |
static java.lang.String |
AUTO_START_MECHANISM_MODE_PROPERTY
Property defining the mode of operation of any auto-start mechanism. |
static java.lang.String |
AUTO_START_MECHANISM_PROPERTY
Property defining the auto-start mechanism to use (if any). |
static java.lang.String |
AUTO_START_MECHANISM_XML_FILE_PROPERTY
Property defining the name of the file used when using the XML AutoStartMechanism. |
static java.lang.String |
CACHE_COLLECTIONS_LAZY_PROPERTY
Property defining whether to lazy load collections (when cached). |
static java.lang.String |
CACHE_COLLECTIONS_PROPERTY
Property defining whether to cache collections. |
static java.lang.String |
CACHE_LEVEL_1_TYPE_PROPERTY
Property defining the type of Level 1 Cache to use. |
static java.lang.String |
CACHE_LEVEL_2_CACHE_NAME_PROPERTY
Property defining the symbolic name of the cache to use for Level 2. |
static java.lang.String |
CACHE_LEVEL_2_CONFIGURATION_FILE_PROPERTY
Property defining the configuration file of the cache to use for Level 2. |
static java.lang.String |
CACHE_LEVEL_2_PROPERTY
Property defining whether to use a Level 2 Cache. |
static java.lang.String |
CACHE_LEVEL_2_TYPE_PROPERTY
Property defining the type of Level 2 Cache to use. |
static java.lang.String |
CHECK_EXIST_TABLES_VIEWS_PROPERTY
Property for whether to check if the table/view exists. |
static java.lang.String |
CLASS_LOADER_RESOLVER_NAME_PROPERTY
ClassLoaderResolver name property. |
protected boolean |
configurable
|
static java.lang.String |
CONNECTION_POOLING_CONFIGURATION_FILE_PROPERTY
Property defining the configuration file for connection pooling. |
static java.lang.String |
CONNECTION_POOLING_TYPE_PROPERTY
Property defining how to pool connections. |
static java.lang.String |
DATASTORE_ADAPTER_CLASSNAME_PROPERTY
Property defining the classname of the datastore adapter to use. |
static java.lang.String |
DATASTORE_CLASS_ADDITION_MAX_RETRIES_PROPERTY
Property for how many times to retry the addition of a class to the store management. |
static java.lang.String |
DATASTORE_DELAY_OPERATIONS_UNTIL_COMMIT_PROPERTY
Property defining if datastore ops are delated til commit. |
static java.lang.String |
DATE_TIMEZONE_PROPERTY
Property defining the timezone name to assume all dates are in in the datastore. |
static java.lang.String |
DEFAULT_INHERITANCE_STRATEGY_PROPERTY
Property defining the default strategy for inheritance, allowing change of behaviour from JDO2. |
static java.lang.String |
DELETION_POLICY_PROPERTY
The system property that defines the process for deletions. |
static java.lang.String |
DETACH_ON_CLOSE_PROPERTY
Detach-on-close property. |
static java.lang.String |
FIXED_DATASTORE_PROPERTY
Whether the datastore schema is read-only and so writes should not be performed. |
static java.lang.String |
FIXED_SCHEMA_PROPERTY
Whether the datastore schema is read-only and so writes should not be performed. |
static java.lang.String |
FOREIGN_KEY_AUTO_MODE
Auto-creation mode, including users MetaData specifications. |
static java.lang.String |
FOREIGN_KEY_CREATE_MODE_PROPERTY
The system property that defines the mode of creation of foreign keys. |
static java.lang.String |
FOREIGN_KEY_STRICT_MODE
Strict mode, only using users MetaData specifications. |
static java.lang.String |
IDENTIFIER_CASE_PROPERTY
Property defining the identifier case to be used. |
static java.lang.String |
IDENTIFIER_FACTORY_PROPERTY
Property defining the identifier factory to use. |
static java.lang.String |
IDENTIFIER_TABLE_PREFIX_PROPERTY
Property defining the table prefix for use in identifiers (if supported by the factory). |
static java.lang.String |
IDENTIFIER_TABLE_SUFFIX_PROPERTY
Property defining the table suffix for use in identifiers (if supported by the factory). |
static java.lang.String |
IDENTIFIER_WORD_SEPARATOR_PROPERTY
Property defining the word separator for use in identifiers (if supported by the factory). |
static java.lang.String |
IMPLEMENTATION_CREATOR_NAME_PROPERTY
Implementation Creator name property. |
static java.lang.String |
INITILIAZE_PRIMARY_KEY_COLUMN_INFO
Property for whether to validate the tables upon loading. |
static java.lang.String |
JDO_CONNECTION_FACTORY_NAME_PROPERTY
Datastore connection factory name property. |
static java.lang.String |
JDO_CONNECTION_FACTORY_PROPERTY
Datastore connection factory property. |
static java.lang.String |
JDO_CONNECTION_FACTORY2_NAME_PROPERTY
Datastore connection factory 2 name property. |
static java.lang.String |
JDO_CONNECTION_FACTORY2_PROPERTY
Datastore connection factory 2 property. |
static java.lang.String |
JDO_DATASTORE_DRIVERNAME_PROPERTY
Datastore driver name property. |
static java.lang.String |
JDO_DATASTORE_PASSWORD_PROPERTY
Datastore connection password property. |
static java.lang.String |
JDO_DATASTORE_URL_PROPERTY
Datastore URL property. |
static java.lang.String |
JDO_DATASTORE_USERNAME_PROPERTY
Datastore connection username property. |
static java.lang.String |
JDO_DETACHALLONCOMMIT_PROPERTY
Detach-all-on-commit property |
static java.lang.String |
JDO_IGNORECACHE_PROPERTY
Ignore Cache property. |
static java.lang.String |
JDO_MAPPING_CATALOG_PROPERTY
Catalog name property. |
static java.lang.String |
JDO_MAPPING_PROPERTY
Mapping suffix property. |
static java.lang.String |
JDO_MAPPING_SCHEMA_PROPERTY
Schema name property. |
static java.lang.String |
JDO_MULTITHREADED_PROPERTY
Multithreaded property. |
static java.lang.String |
JDO_NONTRANSACTIONAL_READ_PROPERTY
Non-transactional Read property. |
static java.lang.String |
JDO_NONTRANSACTIONAL_WRITE_PROPERTY
Non-transactional Write property. |
static java.lang.String |
JDO_OPTIMISTIC_PROPERTY
Optimistic transaction property. |
static java.lang.String |
JDO_RESTOREVALUES_PROPERTY
Restore values property. |
static java.lang.String |
JDO_RETAINVALUES_PROPERTY
Retain values property. |
static java.lang.String |
JDO_TRANSACTION_TYPE_PROPERTY
Transaction type property. |
protected static Localiser |
LOCALISER
Localisation of messages. |
static java.lang.String |
MAX_FETCH_DEPTH_PROPERTY
Property defining the maximum fetch depth to use by default. |
static java.lang.String |
METADATA_JDO_FILE_EXTENSION_PROPERTY
Property defining the file extension for the JDO metadata files. |
static java.lang.String |
METADATA_JDOQUERY_FILE_EXTENSION_PROPERTY
Property defining the file extension for the JDO Query metadata files. |
static java.lang.String |
METADATA_ORM_FILE_EXTENSION_PROPERTY
Property defining the file extension for the ORM metadata files. |
static java.lang.String |
METADATA_VALIDATE_PROPERTY
Property defining whether to validate the metadata files. |
static java.lang.String |
PERSISTENCE_BY_REACHABILITY_AT_COMMIT
Property defining whether PBR is run at commit time (JDO default is true). |
static java.lang.String |
PERSISTENCE_UNIT_NAME
Name of the "persistence-unit" (likely to become JDO property). |
static java.lang.String |
PLUGIN_REGISTRY_CLASS_NAME
Plug-in registry class name |
static java.lang.String |
POID_TRANSACTION_ATTRIBUTE_PROPERTY
Property defining how to obtain a datastore connection when generating POIDs |
static java.lang.String |
POID_TRANSACTION_ISOLATION_PROPERTY
Property defining the transaction isolation to use when obtaining POIDs. |
static java.lang.String |
PROPERTIES_FILE
Property defining a file that contains properties that will be loaded by JPOX. |
static java.lang.String |
QUERY_ALLOW_ALL_SQL_STATEMENTS
Property for allow/disallow all SQL statements. |
static java.lang.String |
QUERY_FETCH_DIRECTION_PROPERTY
Property defining the direction in which a result set will be navigated. |
static java.lang.String |
QUERY_FETCH_SIZE_PROPERTY
Property defining the number of rows of a result set that should be fetched when more rows are needed. |
static java.lang.String |
QUERY_RESULT_SET_CONCURRENCY_PROPERTY
Property defining the concurrency of the result set |
static java.lang.String |
QUERY_RESULT_SET_TYPE_PROPERTY
Property defining the type of result set to create. |
static java.lang.String |
QUERY_TIMEOUT_PROPERTY
Property defining the timeout (seconds) for any queries. |
static java.lang.String |
QUERY_USE_FETCH_PLAN_PROPERTY
Property defining whetehr to use the FetchPlan when executing the query. |
static java.lang.String |
QUERY_USE_INNER_JOINS_ONLY_PROPERTY
Property defining the whether to use inner joins only on queries. |
static java.lang.String |
READ_ONLY_DATASTORE_ACTION_PROPERTY
What should happen when using a read-only datastore and an update is attempted. |
static java.lang.String |
READ_ONLY_DATASTORE_PROPERTY
Whether the datastore schema is read-only and so writes should not be performed. |
static java.lang.String |
READ_ONLY_SCHEMA_PROPERTY
Whether the datastore schema is read-only and so writes should not be performed. |
static java.lang.String |
STATEMENT_BATCH_LIMIT_PROPERTY
Property for the maximum number of statements that can be batched (0 = no batching) |
static java.lang.String |
STRING_DEFAULT_LENGTH_PROPERTY
Property defining the default string length when storing a String type in the datastore and no length given. |
static java.lang.String |
TRANSACTION_ISOLATION_PROPERTY
Property defining the transaction isolation mode to use. |
static java.lang.String |
USE_UPDATE_LOCK_PROPERTY
Property defining whether to use "SELECT ... |
static java.lang.String |
VALIDATE_COLUMNS_PROPERTY
Property for whether to validate the columns upon loading. |
static java.lang.String |
VALIDATE_CONSTRAINTS_PROPERTY
Property for whether the validate the constraints upon loading |
static java.lang.String |
VALIDATE_TABLES_PROPERTY
Property for whether to validate the tables upon loading. |
| Constructor Summary | |
|---|---|
PMFConfiguration()
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
assertConfigurable()
Asserts that a change to a configuration property is allowed. |
boolean |
equals(java.lang.Object obj)
Equality operator. |
boolean |
getAttachSameDatastore()
Accessor for whether we can assume attaching to the same datastore as detaching. |
boolean |
getAutoCreateColumns()
Get the default AutoCreateColumns setting for all PersistenceManager instances obtained from this factory. |
boolean |
getAutoCreateConstraints()
Get the default AutoCreateConstraints setting for all PersistenceManager instances obtained from this factory. |
boolean |
getAutoCreateSchema()
Get the default AutoCreateSchema setting for all PersistenceManager instances obtained from this factory. |
boolean |
getAutoCreateTables()
Get the default AutoCreateTables setting for all PersistenceManager instances obtained from this factory. |
boolean |
getAutoCreateWarnOnError()
Get the default AutoCreateWarnOnError setting for all PersistenceManager instances obtained from this factory. |
java.lang.String |
getAutoStartClassNames()
Accessor for the names of the classes to be loaded at startup. |
java.lang.String |
getAutoStartMechanism()
Accessor for the Auto-Start Mechanism for management of which classes are supported in this data store. |
java.lang.String |
getAutoStartMechanismMode()
Accessor for the Auto-Start Mechanism Mode for how the auto start mechanism operates. |
java.lang.String |
getAutoStartMechanismXmlFile()
Accessor for the name of the XML file to use when using the XML AutoStarter |
java.util.Calendar |
getCalendarForDateTimezone()
Accessor for the Calendar to be used in handling all timezone issues with the datastore. |
java.lang.String |
getCatalog()
Accessor for the catalog to use for this PMF. |
boolean |
getCheckExistTablesOrViews()
Get the default CheckExistTablesOrViews setting for all PersistenceManager instances obtained from this factory. |
java.lang.String |
getClassLoaderResolverName()
Accessor for the name of the class loader resolver. |
java.lang.String |
getConnectionDriverName()
Get the driver name for the data store connection. |
java.lang.Object |
getConnectionFactory()
Get the data store connection factory. |
java.lang.Object |
getConnectionFactory2()
Get the second data store connection factory. |
java.lang.String |
getConnectionFactory2Name()
Get the name for the second data store connection factory. |
java.lang.String |
getConnectionFactoryName()
Get the name for the data store connection factory. |
java.lang.String |
getConnectionPassword()
Get the password for the data store connection. |
java.lang.String |
getConnectionPoolingConfigurationFile()
Get the connection pooling configuration file. |
java.lang.String |
getConnectionPoolingType()
Get the connection pooling type. |
java.lang.String |
getConnectionURL()
Get the URL for the data store connection. |
java.lang.String |
getConnectionUserName()
Get the user name for the data store connection. |
java.lang.String |
getDatastoreAdapterClassName()
Accessor for the datastore adapter class name (null implies autodetect) |
int |
getDatastoreClassAdditionMaxRetries()
Accessor for the maximum number of retries for adding a class to the store manager. |
boolean |
getDatastoreDelayOperationsEnabled()
Whether the datastore operations are delayed until commit. |
java.lang.String |
getDateTimezone()
Accessor for the timezone in which all dates are stored in the datastore. |
java.lang.String |
getDefaultInheritanceStrategy()
Accessor for the default inheritance strategy to use. |
java.lang.String |
getDeletionPolicy()
Accessor for the deletion policy. |
boolean |
getDetachAllOnCommit()
Accessor for the DetachAllOnCommit setting. |
boolean |
getDetachOnClose()
Get the default DetachOnClose setting for all PersistenceManager instances obtained from this factory. |
boolean |
getFixedDatastore()
Accessor for whether the datastore is read-only (no structural changes allowed). |
java.lang.String |
getForeignKeyCreateMode()
Accessor for the FK creation mode. |
java.lang.String |
getIdentifierCase()
Accessor for the identifier case |
java.lang.String |
getIdentifierFactory()
Accessor for the identifier factory |
java.lang.String |
getIdentifierTablePrefix()
Accessor for the identifier table prefix |
java.lang.String |
getIdentifierTableSuffix()
Accessor for the identifier table suffix |
java.lang.String |
getIdentifierWordSeparator()
Accessor for the identifier word separator |
boolean |
getIgnoreCache()
Get the default IgnoreCache setting for all PersistenceManager instances obtained from this factory. |
java.lang.String |
getImplementationCreatorName()
Accessor for the name of the implementation creator class. |
boolean |
getInitializePrimaryKeyColumnInfo()
Get the default InitializePrimaryKeyColumnInfo setting for all PersistenceManager instances obtained from this factory. |
boolean |
getJdoCacheCollections()
Accessor for whether to cache collections. |
java.lang.Boolean |
getJdoCacheCollectionsLazy()
Accessor for whether to lazy load any cached collections. |
java.lang.String |
getJdoCacheLevel1Type()
Accessor for the JDO Level 1 Cache Type |
boolean |
getJdoCacheLevel2()
Accessor for whether to use a level 2 Cache. |
java.lang.String |
getJdoCacheLevel2CacheName()
Accessor for the JDO Level 2 Cache Name |
java.lang.String |
getJdoCacheLevel2ConfigurationFile()
Accessor for the JDO Level 2 Configuration File |
java.lang.String |
getJdoCacheLevel2Type()
Accessor for the JDO Level 2 Cache Type |
java.lang.String |
getJdoMetaDataFileExtension()
Accessor for the JDO MetaData file extension. |
java.lang.String |
getJdoqueryMetaDataFileExtension()
Accessor for the JDO Query MetaData file extension. |
java.lang.String |
getMapping()
Get the name for any mapping, used in retrieving metadata files for ORM/Query data. |
int |
getMaxFetchDepth()
Accessor for the maximum fetch depth to use by default. |
boolean |
getMetaDataValidate()
Accessor for whether to validate the metadata. |
boolean |
getMultithreaded()
Get the default Multithreaded setting for all PersistenceManager instances obtained from this factory. |
boolean |
getNontransactionalRead()
Get the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory. |
boolean |
getNontransactionalWrite()
Get the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory. |
boolean |
getOptimistic()
Get the default Optimistic setting for all PersistenceManager instances obtained from this factory. |
protected java.util.Map |
getOptions()
Get the options for this PersistenceManagerFactory |
java.lang.String |
getOrmMetaDataFileExtension()
Accessor for the ORM MetaData file extension. |
boolean |
getPersistenceByReachabilityAtCommit()
Accessor for whether "persistence-by-reachability" is run at commit time. |
java.lang.String |
getPersistenceUnitName()
Accessor for the name of the persistence unit |
java.lang.String |
getPluginRegistryClassName()
Mutator for the PluginRegistry class name. |
java.lang.String |
getPoidTransactionAttribute()
Whether to use the PM connection or open a new connection |
int |
getPoidTransactionIsolationLevel()
Get the default transaction isolation level for all PoidGenerator instances. |
java.io.File |
getPropertiesFile()
Accessor for the properties file that is loaded by this |
java.lang.String |
getQueryFetchDirection()
Accessor for the fetch direction to use for ResultSet's. |
int |
getQueryFetchSize()
Accessor for the fetch size to use for ResultSet's. |
java.lang.String |
getQueryResultSetConcurrency()
Accessor for the concurrency of ResultSet |
java.lang.String |
getQueryResultSetType()
Accessor for the type of ResultSet |
int |
getQueryTimeout()
Accessor for the timeout for queries. |
boolean |
getQueryUseFetchPlan()
Accessor for whether to use the FetchPlan in queries. |
boolean |
getQueryUseInnerJoinsOnly()
Accessor for whether to use inner joins only in JDOQL. |
boolean |
getReadOnlyDatastore()
Accessor for whether the datastore is read-only (no structural or content changes allowed). |
java.lang.String |
getReadOnlyDatastoreAction()
Accessor for what should happen when an update occurs when readonly. |
boolean |
getRestoreValues()
Get the default RestoreValues setting for all PersistenceManager instances obtained from this factory. |
boolean |
getRetainValues()
Get the default RetainValues setting for all PersistenceManager instances obtained from this factory. |
java.lang.String |
getSchema()
Accessor for the schema to use for this PMF. |
int |
getStatementBatchLimit()
Accessor for the limit on number of SQL statements that can be batched in one go. |
int |
getStringDefaultLength()
Accessor for the default max length for strings. |
int |
getTransactionIsolation()
Get the default transaction isolation level for all PersistenceManager instances obtained from this factory. |
java.lang.String |
getTransactionType()
Accessor for the transaction type to use with this PMF. |
boolean |
getUniqueConstraintsMapInverse()
Get the default UniqueConstraintsMapInverse setting for all PersistenceManager instances obtained from this factory. |
boolean |
getUseUpdateLock()
Get the use update lock flag for fetches. |
boolean |
getValidateColumns()
Get the default ValidateColumns setting for all PersistenceManager instances obtained from this factory. |
boolean |
getValidateConstraints()
Get the default ValidateConstraints setting for all PersistenceManager instances obtained from this factory. |
boolean |
getValidateTables()
Get the default ValidateTables setting for all PersistenceManager instances obtained from this factory. |
protected java.util.Map |
initPropertySetters()
Initialize the PROPERTY_SETTERS Map. |
boolean |
isQueryAllowAllSQLStatements()
Whether to allow running any SQL statement in SQL queries. |
void |
setAttachSameDatastore(boolean flag)
Mutator for whether we can assume attaching to the same datastore as detaching |
void |
setAutoCreateColumns(boolean flag)
Set the default AutoCreateColumns setting for all PersistenceManager instances obtained from this factory. |
void |
setAutoCreateConstraints(boolean flag)
Set the default AutoCreateConstraints setting for all PersistenceManager instances obtained from this factory. |
void |
setAutoCreateSchema(boolean flag)
Set the default AutoCreateSchema setting for all PersistenceManager instances obtained from this factory. |
void |
setAutoCreateTables(boolean flag)
Set the default AutoCreateTables setting for all PersistenceManager instances obtained from this factory. |
void |
setAutoCreateWarnOnError(boolean flag)
Set the default AutoCreateWarnOnError setting for all PersistenceManager instances obtained from this factory. |
void |
setAutoStartClassNames(java.lang.String classNames)
Mutator for the names of classes to load at startup. |
void |
setAutoStartMechanism(java.lang.String mechanism)
Set the AutoStartMechanism setting to this PMF. |
void |
setAutoStartMechanismMode(java.lang.String mode)
Set the default AutoStartMechanismMode setting for all PersistenceManager instances obtained from this factory. |
void |
setAutoStartMechanismXmlFile(java.lang.String xmlFile)
Mutator for the XML filename when using the XML AutoStarter. |
void |
setCatalog(java.lang.String catalog)
Mutator for the catalog to use for this PMF. |
void |
setCheckExistTablesOrViews(boolean flag)
Set the default CheckExistTablesOrViews setting for all PersistenceManager instances obtained from this factory. |
void |
setClassLoaderResolverName(java.lang.String clrName)
Mutator for the class loader resolver name to use. |
void |
setConnectionDriverName(java.lang.String driverName)
Set the driver name for the data store connection. |
void |
setConnectionFactory(java.lang.Object connectionFactory)
Set the data store connection factory. |
void |
setConnectionFactory2(java.lang.Object connectionFactory)
Set the second data store connection factory. |
void |
setConnectionFactory2Name(java.lang.String connectionFactoryName)
Set the name for the second data store connection factory. |
void |
setConnectionFactoryName(java.lang.String connectionFactoryName)
Set the name for the data store connection factory. |
void |
setConnectionPassword(java.lang.String password)
Set the password for the data store connection. |
void |
setConnectionPoolingConfigurationFile(java.lang.String file)
Set the connection pooling configuration file to use. |
void |
setConnectionPoolingType(java.lang.String type)
Set the connection pooling type. |
void |
setConnectionURL(java.lang.String url)
Set the URL for the data store connection. |
void |
setConnectionUserName(java.lang.String userName)
Set the user name for the data store connection. |
void |
setDatastoreAdapterClassName(java.lang.String adapterClassName)
Set the name of the datastore adapter to use. |
void |
setDatastoreClassAdditionMaxRetries(int max)
Set the max number of times to retry adding a class to the store manager. |
void |
setDatastoreDelayOperationsEnabled(boolean flag)
Whether the datastore operations are delayed until commit. |
void |
setDateTimezone(java.lang.String timezone)
Set the timezone to use for dates in the datastore. |
void |
setDefaultInheritanceStrategy(java.lang.String strategy)
Mutator for the default inheritance strategy. |
void |
setDeletionPolicy(java.lang.String policy)
Mutator for the deletion policy |
void |
setDetachAllOnCommit(boolean flag)
Mutator for the DetachAllOnCommit setting. |
void |
setDetachOnClose(boolean flag)
Set the default DetachOnClose setting for all PersistenceManager instances obtained from this factory. |
void |
setFixedDatastore(boolean flag)
Set whether this datastore schema is fixed |
void |
setFixedSchema(boolean flag)
Set whether this datastore schema is fixed |
void |
setForeignKeyCreateMode(java.lang.String mode)
Mutator for the foreign key creation mode |
void |
setIdentifierCase(java.lang.String idCase)
Mutator for the identifier case |
void |
setIdentifierFactory(java.lang.String factory)
Mutator for the identifier factory |
void |
setIdentifierTablePrefix(java.lang.String prefix)
Mutator for the identifier table prefix |
void |
setIdentifierTableSuffix(java.lang.String suffix)
Mutator for the identifier table suffix |
void |
setIdentifierWordSeparator(java.lang.String word)
Mutator for the identifier word separator |
void |
setIgnoreCache(boolean flag)
Set the default IgnoreCache setting for all PersistenceManager instances obtained from this factory. |
void |
setImplementationCreatorName(java.lang.String implCreatorName)
Mutator for the implementation creator name to use. |
void |
setInitializePrimaryKeyColumnInfo(boolean flag)
Set the default InitializePrimaryKeyColumnInfo setting for all PersistenceManager instances obtained from this factory. |
void |
setJdoCacheCollections(boolean cache)
Set whether to cache collections for this PMF. |
void |
setJdoCacheCollectionsLazy(java.lang.Boolean lazy)
Set whether to lazy load any cached collections for this PMF. |
void |
setJdoCacheLevel1Type(java.lang.String type)
Set the default Level 1 Cache Type for all PersistenceManager instances obtained from this factory. |
void |
setJdoCacheLevel2(boolean cache)
Set whether to use a Level 2 Cache for this PMF. |
void |
setJdoCacheLevel2CacheName(java.lang.String name)
Set the default Level 2 Cache Name for all PersistenceManager instances obtained from this factory. |
void |
setJdoCacheLevel2ConfigurationFile(java.lang.String confFile)
Set the default Level 2 Configuration File for all PersistenceManager instances obtained from this factory. |
void |
setJdoCacheLevel2Type(java.lang.String type)
Set the default Level 2 Cache Type for all PersistenceManager instances obtained from this factory. |
void |
setJdoMetaDataFileExtension(java.lang.String metadataFileExtension)
Mutator for the JDO MetaData file extension. |
void |
setJdoqueryMetaDataFileExtension(java.lang.String metadataFileExtension)
Mutator for the JDO Query MetaData file extension. |
void |
setMapping(java.lang.String mapping)
Set the name for any mapping, used in searching for ORM/Query metadata files. |
void |
setMaxFetchDepth(int value)
Mutator for the default max fetch depth |
void |
setMetaDataValidate(boolean validate)
Mutator for whether to validate the metadata |
void |
setMultithreaded(boolean flag)
Set the default Multithreaded setting for all PersistenceManager instances obtained from this factory. |
void |
setNontransactionalRead(boolean flag)
Set the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory. |
void |
setNontransactionalWrite(boolean flag)
Set the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory. |
void |
setOptimistic(boolean flag)
Set the default Optimistic setting for all PersistenceManager instances obtained from this factory. |
protected void |
setOptions(java.util.Map props)
Set the options for this PersistenceManagerFactory based on the given map of properties. |
protected void |
setOptions(java.util.Properties props)
Set the options for this PersistenceManagerFactory based on the given Properties. |
void |
setOrmMetaDataFileExtension(java.lang.String metadataFileExtension)
Mutator for the ORM MetaData file extension. |
void |
setPersistenceByReachabilityAtCommit(boolean flag)
Mutator for whether to run "persistence-by-reachability" at commit time. |
void |
setPersistenceUnitName(java.lang.String name)
Mutator for the name of the persistence unit. |
void |
setPluginRegistryClassName(java.lang.String pluginRegistryClassName)
Mutator for the PluginRegistry class name. |
void |
setPoidTransactionAttribute(java.lang.String poidTransactionAttribute)
Set whether to use the PM connection or open a new connection |
void |
setPoidTransactionIsolation(int isolationLevel)
Set the default transaction isolation level for all PoidGenerator instances. |
protected void |
setPoidTransactionIsolation(java.lang.String isolationLevelName)
Set the default transaction isolation level for all PoidGenerator instances. |
void |
setPropertiesFile(java.lang.String value)
Accessor for the suffix for table identifiers |
void |
setQueryAllowAllSQLStatements(boolean allow)
Whether to allow running any SQL statement in SQL queries. |
void |
setQueryFetchDirection(java.lang.String dir)
Set the fetch direction to use for ResultSet's. |
void |
setQueryFetchSize(int size)
Set the fetch size to use for ResultSet's. |
void |
setQueryResultSetConcurrency(java.lang.String concur)
Set the concurrency of the ResultSet |
void |
setQueryResultSetType(java.lang.String type)
Set the type of the ResultSet |
void |
setQueryTimeout(int timeout)
Set the timeout for queries |
void |
setQueryUseFetchPlan(boolean useFetchPlan)
Set whether to use the FetchPlan in queries |
void |
setQueryUseInnerJoinsOnly(boolean useInner)
Set whether to use inner joins only |
void |
setReadOnlyDatastore(boolean flag)
Set whether this datastore is readOnly |
void |
setReadOnlyDatastoreAction(java.lang.String action)
Set what should happen when using a read only datastore and an update occurs. |
void |
setReadOnlySchema(boolean flag)
Set whether this datastore schema is read-only. |
void |
setRestoreValues(boolean flag)
Set the default RestoreValues setting for all PersistenceManager instances obtained from this factory. |
void |
setRetainValues(boolean flag)
Set the default RetainValues setting for all PersistenceManager instances obtained from this factory. |
void |
setSchema(java.lang.String schema)
Mutator for the schema to use for this PMF. |
void |
setStatementBatchLimit(int limit)
Set the limit on number of SQL statements that can be batched in one go. |
void |
setStringDefaultLength(int len)
Set the default length for strings. |
void |
setTransactionIsolation(int isolationLevel)
Set the default transaction isolation level for all PersistenceManager instances obtained from this factory. |
protected void |
setTransactionIsolation(java.lang.String isolationLevelName)
Set the default transaction isolation level for all PersistenceManager instances obtained from this factory. |
void |
setTransactionType(java.lang.String type)
Mutator for the transaction type to use for this PMF. |
void |
setUniqueConstraintsMapInverse(boolean flag)
Set the default UniqueConstraintsMapInverse setting for all PersistenceManager instances obtained from this factory. |
void |
setUseUpdateLock(boolean flag)
Set whether to use the update lock for fetches. |
void |
setValidateColumns(boolean flag)
Set the default ValidateColumns setting for all PersistenceManager instances obtained from this factory. |
void |
setValidateConstraints(boolean flag)
Set the default ValidateConstraints setting for all PersistenceManager instances obtained from this factory. |
void |
setValidateTables(boolean flag)
Set the default ValidateTables setting for all PersistenceManager instances obtained from this factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Localiser LOCALISER
public static final java.lang.String JDO_DATASTORE_DRIVERNAME_PROPERTY
public static final java.lang.String JDO_DATASTORE_URL_PROPERTY
public static final java.lang.String JDO_DATASTORE_USERNAME_PROPERTY
public static final java.lang.String JDO_DATASTORE_PASSWORD_PROPERTY
public static final java.lang.String JDO_CONNECTION_FACTORY_NAME_PROPERTY
public static final java.lang.String JDO_CONNECTION_FACTORY2_NAME_PROPERTY
public static final java.lang.String JDO_CONNECTION_FACTORY_PROPERTY
public static final java.lang.String JDO_CONNECTION_FACTORY2_PROPERTY
public static final java.lang.String JDO_IGNORECACHE_PROPERTY
public static final java.lang.String JDO_OPTIMISTIC_PROPERTY
public static final java.lang.Str