org.jpox
Class PMFConfiguration

java.lang.Object
  extended byorg.jpox.PMFConfiguration
Direct Known Subclasses:
AbstractPersistenceManagerFactory, SchemaTool

public abstract class PMFConfiguration
extends java.lang.Object

Contains the user configuration for the PMF. This is extended by AbstractPersistenceManagerFactory, which in turn is extended by PersistenceManagerFactoryimpl and ManagedConnectionFactoryImpl. If you add a setter/getter in here, there is an initialisation block in PersistenceManagerFactoryImpl that will likely need the parameter adding.

Version:
$Revision: 1.68 $

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 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 DETACH_ON_CLOSE_PROPERTY
          Detach-on-close property.
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 GENERATOR_ID_CLASS_PROPERTY
          Property defining the POID generator class to use for generating ids.
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.
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 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_SCHEMA_PROPERTY
          Whether the datastore schema is read-only and so writes should not be performed.
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 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 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.
 boolean getDetachAllOnCommit()
          Accessor for the DetachAllOnCommit setting.
 boolean getDetachOnClose()
          Get the default DetachOnClose setting for all PersistenceManager instances obtained from this factory.
 Dictionary getDictionary()
          Accessor for the dictionary.
 boolean getFixedSchema()
          Get the fixedSchema setting for the datastore managed by this PMF.
 java.lang.String getForeignKeyCreateMode()
          Accessor for the FK creation mode.
 java.lang.String getIdentifierCase()
          Accessor for the Case Identifier
 java.lang.String getIdentifierNamingStrategy()
          Get the naming strategy
 java.lang.String getIdentifierTablePrefix()
          Accessor for the identifier prefix for tables
 java.lang.String getIdentifierTableSuffix()
          Accessor for the identifier suffix for tables
 java.lang.String getIdentifierWordSeparator()
          Accessor for the word separator for identifiers
 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 getPersistentIdGenerator()
          Get the default PersistentIdGenerator class name for all PersistenceManager instances obtained from this factory.
 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 getReadOnlySchema()
          Get the readOnlySchema setting for the datastore managed by this PMF.
 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 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.
 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 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 default AutoStartMechanism setting for all PersistenceManager instances obtained from this factory.
 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 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 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 value)
          Accessor for the Case Identifier
 void setIdentifierNamingStrategy(java.lang.String strategy)
          Set the identifier naming strategy
 void setIdentifierTablePrefix(java.lang.String value)
          Accessor for the prefix for table identifiers
 void setIdentifierTableSuffix(java.lang.String value)
          Accessor for the suffix for table identifiers
 void setIdentifierWordSeparator(java.lang.String value)
          Accessor for the word separator for identifiers
 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 setPersistentIdGenerator(java.lang.String generatorClassName)
          Set the default PersistentIdGenerator class name for all PersistenceManager instances obtained from this factory.
 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 setReadOnlySchema(boolean flag)
          Set whether this datastore schema is readOnly
 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 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 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

LOCALISER

protected static final Localiser LOCALISER
Localisation of messages.


JDO_DATASTORE_DRIVERNAME_PROPERTY

public static final java.lang.String JDO_DATASTORE_DRIVERNAME_PROPERTY
Datastore driver name property.

See Also:
Constant Field Values

JDO_DATASTORE_URL_PROPERTY

public static final java.lang.String JDO_DATASTORE_URL_PROPERTY
Datastore URL property.

See Also:
Constant Field Values

JDO_DATASTORE_USERNAME_PROPERTY

public static final java.lang.String JDO_DATASTORE_USERNAME_PROPERTY
Datastore connection username property.

See Also:
Constant Field Values

JDO_DATASTORE_PASSWORD_PROPERTY

public static final java.lang.String JDO_DATASTORE_PASSWORD_PROPERTY
Datastore connection password property.

See Also:
Constant Field Values

JDO_CONNECTION_FACTORY_NAME_PROPERTY

public static final java.lang.String JDO_CONNECTION_FACTORY_NAME_PROPERTY
Datastore connection factory name property.

See Also:
Constant Field Values

JDO_CONNECTION_FACTORY2_NAME_PROPERTY

public static final java.lang.String JDO_CONNECTION_FACTORY2_NAME_PROPERTY
Datastore connection factory 2 name property.

See Also:
Constant Field Values

JDO_CONNECTION_FACTORY_PROPERTY

public static final java.lang.String JDO_CONNECTION_FACTORY_PROPERTY
Datastore connection factory property.

See Also:
Constant Field Values

JDO_CONNECTION_FACTORY2_PROPERTY

public static final java.lang.String JDO_CONNECTION_FACTORY2_PROPERTY
Datastore connection factory 2 property.

See Also:
Constant Field Values

JDO_IGNORECACHE_PROPERTY

public static final java.lang.String JDO_IGNORECACHE_PROPERTY
Ignore Cache property.

See Also:
Constant Field Values

JDO_OPTIMISTIC_PROPERTY

public static final java.lang.String JDO_OPTIMISTIC_PROPERTY
Optimistic transaction property.

See Also:
Constant Field Values

JDO_MULTITHREADED_PROPERTY

public static final java.lang.String JDO_MULTITHREADED_PROPERTY
Multithreaded property.

See Also:
Constant Field Values

JDO_RETAINVALUES_PROPERTY

public static final java.lang.String JDO_RETAINVALUES_PROPERTY
Retain values property.

See Also:
Constant Field Values

JDO_RESTOREVALUES_PROPERTY

public static final java.lang.String JDO_RESTOREVALUES_PROPERTY
Restore values property.

See Also:
Constant Field Values

JDO_NONTRANSACTIONAL_READ_PROPERTY

public static final java.lang.String JDO_NONTRANSACTIONAL_READ_PROPERTY
Non-transactional Read property.

See Also:
Constant Field Values

JDO_NONTRANSACTIONAL_WRITE_PROPERTY

public static final java.lang.String JDO_NONTRANSACTIONAL_WRITE_PROPERTY
Non-transactional Write property.

See Also:
Constant Field Values

JDO_MAPPING_PROPERTY

public static final java.lang.String JDO_MAPPING_PROPERTY
Mapping suffix property.

See Also:
Constant Field Values

JDO_MAPPING_CATALOG_PROPERTY

public static final java.lang.String JDO_MAPPING_CATALOG_PROPERTY
Catalog name property.

See Also:
Constant Field Values

JDO_MAPPING_SCHEMA_PROPERTY

public static final java.lang.String JDO_MAPPING_SCHEMA_PROPERTY
Schema name property.

See Also:
Constant Field Values

JDO_DETACHALLONCOMMIT_PROPERTY

public static final java.lang.String JDO_DETACHALLONCOMMIT_PROPERTY
Detach-all-on-commit property

See Also:
Constant Field Values

CLASS_LOADER_RESOLVER_NAME_PROPERTY

public static final java.lang.String CLASS_LOADER_RESOLVER_NAME_PROPERTY
ClassLoaderResolver name property.

See Also:
Constant Field Values

IMPLEMENTATION_CREATOR_NAME_PROPERTY

public static final java.lang.String IMPLEMENTATION_CREATOR_NAME_PROPERTY
Implementation Creator name property.

See Also:
Constant Field Values

DETACH_ON_CLOSE_PROPERTY

public static final java.lang.String DETACH_ON_CLOSE_PROPERTY
Detach-on-close property.

See Also:
Constant Field Values

DATASTORE_ADAPTER_CLASSNAME_PROPERTY

public static final java.lang.String DATASTORE_ADAPTER_CLASSNAME_PROPERTY
Property defining the classname of the datastore adapter to use.

See Also:
Constant Field Values

CHECK_EXIST_TABLES_VIEWS_PROPERTY

public static final java.lang.String CHECK_EXIST_TABLES_VIEWS_PROPERTY
Property for whether to check if the table/view exists.

See Also:
Constant Field Values

VALIDATE_TABLES_PROPERTY

public static final java.lang.String VALIDATE_TABLES_PROPERTY
Property for whether to validate the tables upon loading.

See Also:
Constant Field Values

VALIDATE_COLUMNS_PROPERTY

public static final java.lang.String VALIDATE_COLUMNS_PROPERTY
Property for whether to validate the columns upon loading.

See Also:
Constant Field Values

VALIDATE_CONSTRAINTS_PROPERTY

public static final java.lang.String VALIDATE_CONSTRAINTS_PROPERTY
Property for whether the validate the constraints upon loading

See Also:
Constant Field Values

AUTO_CREATE_WARN_ON_ERROR_PROPERTY

public static final java.lang.String AUTO_CREATE_WARN_ON_ERROR_PROPERTY
Property for whether to warn only when receiving an error on auto creation.

See Also:
Constant Field Values

AUTO_CREATE_SCHEMA_PROPERTY

public static final java.lang.String AUTO_CREATE_SCHEMA_PROPERTY
Property for whether to auto create the schema upon loading.

See Also:
Constant Field Values

AUTO_CREATE_TABLES_PROPERTY

public static final java.lang.String AUTO_CREATE_TABLES_PROPERTY
Property for whether to auto create the tables upon loading.

See Also:
Constant Field Values

AUTO_CREATE_COLUMNS_PROPERTY

public static final java.lang.String AUTO_CREATE_COLUMNS_PROPERTY
Property for whether to auto create the columns upon loading.

See Also:
Constant Field Values

AUTO_CREATE_CONSTRAINTS_PROPERTY

public static final java.lang.String AUTO_CREATE_CONSTRAINTS_PROPERTY
The system property that selects the default value for the AutoCreateConstraints setting.

See Also:
Constant Field Values

INITILIAZE_PRIMARY_KEY_COLUMN_INFO

public static final java.lang.String INITILIAZE_PRIMARY_KEY_COLUMN_INFO
Property for whether to validate the tables upon loading.

See Also:
Constant Field Values

READ_ONLY_SCHEMA_PROPERTY

public static final java.lang.String READ_ONLY_SCHEMA_PROPERTY
Whether the datastore schema is read-only and so writes should not be performed.

See Also:
Constant Field Values

FIXED_SCHEMA_PROPERTY

public static final java.lang.String FIXED_SCHEMA_PROPERTY
Whether the datastore schema is read-only and so writes should not be performed.

See Also:
Constant Field Values

FOREIGN_KEY_CREATE_MODE_PROPERTY

public static final java.lang.String FOREIGN_KEY_CREATE_MODE_PROPERTY
The system property that defines the mode of creation of foreign keys.

See Also:
Constant Field Values

FOREIGN_KEY_AUTO_MODE

public static final java.lang.String FOREIGN_KEY_AUTO_MODE
Auto-creation mode, including users MetaData specifications.

See Also:
Constant Field Values

FOREIGN_KEY_STRICT_MODE

public static final java.lang.String FOREIGN_KEY_STRICT_MODE
Strict mode, only using users MetaData specifications.

See Also:
Constant Field Values

TRANSACTION_ISOLATION_PROPERTY

public static final java.lang.String TRANSACTION_ISOLATION_PROPERTY
Property defining the transaction isolation mode to use.

See Also:
Constant Field Values

GENERATOR_ID_CLASS_PROPERTY

public static final java.lang.String GENERATOR_ID_CLASS_PROPERTY
Property defining the POID generator class to use for generating ids.

See Also:
Constant Field Values

POID_TRANSACTION_ISOLATION_PROPERTY

public static final java.lang.String POID_TRANSACTION_ISOLATION_PROPERTY
Property defining the transaction isolation to use when obtaining POIDs.

See Also:
Constant Field Values

POID_TRANSACTION_ATTRIBUTE_PROPERTY

public static final java.lang.String POID_TRANSACTION_ATTRIBUTE_PROPERTY
Property defining how to obtain a datastore connection when generating POIDs

See Also:
Constant Field Values

AUTO_START_MECHANISM_PROPERTY

public static final java.lang.String AUTO_START_MECHANISM_PROPERTY
Property defining the auto-start mechanism to use (if any).

See Also:
Constant Field Values

AUTO_START_MECHANISM_MODE_PROPERTY

public static final java.lang.String AUTO_START_MECHANISM_MODE_PROPERTY
Property defining the mode of operation of any auto-start mechanism.

See Also:
Constant Field Values

AUTO_START_MECHANISM_XML_FILE_PROPERTY

public static final java.lang.String AUTO_START_MECHANISM_XML_FILE_PROPERTY
Property defining the name of the file used when using the XML AutoStartMechanism.

See Also:
Constant Field Values

AUTO_START_CLASS_NAMES_PROPERTY

public static final java.lang.String AUTO_START_CLASS_NAMES_PROPERTY
Property defining the names of the classes whose MetaData is to be loaded at startup.

See Also:
Constant Field Values

CONNECTION_POOLING_TYPE_PROPERTY

public static final java.lang.String CONNECTION_POOLING_TYPE_PROPERTY
Property defining how to pool connections.

See Also:
Constant Field Values

CONNECTION_POOLING_CONFIGURATION_FILE_PROPERTY

public static final java.lang.String CONNECTION_POOLING_CONFIGURATION_FILE_PROPERTY
Property defining the configuration file for connection pooling.

See Also:
Constant Field Values

CACHE_LEVEL_1_TYPE_PROPERTY

public static final java.lang.String CACHE_LEVEL_1_TYPE_PROPERTY
Property defining the type of Level 1 Cache to use.

See Also:
Constant Field Values

CACHE_LEVEL_2_PROPERTY

public static final java.lang.String CACHE_LEVEL_2_PROPERTY
Property defining whether to use a Level 2 Cache.

See Also:
Constant Field Values

CACHE_LEVEL_2_TYPE_PROPERTY

public static final java.lang.String CACHE_LEVEL_2_TYPE_PROPERTY
Property defining the type of Level 2 Cache to use.

See Also:
Constant Field Values

CACHE_LEVEL_2_CACHE_NAME_PROPERTY

public static final java.lang.String CACHE_LEVEL_2_CACHE_NAME_PROPERTY
Property defining the symbolic name of the cache to use for Level 2.

See Also:
Constant Field Values

CACHE_LEVEL_2_CONFIGURATION_FILE_PROPERTY

public static final java.lang.String CACHE_LEVEL_2_CONFIGURATION_FILE_PROPERTY
Property defining the configuration file of the cache to use for Level 2.

See Also:
Constant Field Values

CACHE_COLLECTIONS_PROPERTY

public static final java.lang.String CACHE_COLLECTIONS_PROPERTY
Property defining whether to cache collections.

See Also:
Constant Field Values

CACHE_COLLECTIONS_LAZY_PROPERTY

public static final java.lang.String CACHE_COLLECTIONS_LAZY_PROPERTY
Property defining whether to lazy load collections (when cached).

See Also:
Constant Field Values

METADATA_JDO_FILE_EXTENSION_PROPERTY

public static final java.lang.String METADATA_JDO_FILE_EXTENSION_PROPERTY
Property defining the file extension for the JDO metadata files.

See Also:
Constant Field Values

METADATA_ORM_FILE_EXTENSION_PROPERTY

public static final java.lang.String METADATA_ORM_FILE_EXTENSION_PROPERTY
Property defining the file extension for the ORM metadata files.

See Also:
Constant Field Values

METADATA_JDOQUERY_FILE_EXTENSION_PROPERTY

public static final java.lang.String METADATA_JDOQUERY_FILE_EXTENSION_PROPERTY
Property defining the file extension for the JDO Query metadata files.

See Also:
Constant Field Values

METADATA_VALIDATE_PROPERTY

public static final java.lang.String METADATA_VALIDATE_PROPERTY
Property defining whether to validate the metadata files.

See Also:
Constant Field Values

USE_UPDATE_LOCK_PROPERTY

public static final java.lang.String USE_UPDATE_LOCK_PROPERTY
Property defining whether to use "SELECT ... FOR UPDATE" to fetch objects when using READ COMMITTED or lower.

See Also:
Constant Field Values

DEFAULT_INHERITANCE_STRATEGY_PROPERTY

public static final java.lang.String DEFAULT_INHERITANCE_STRATEGY_PROPERTY
Property defining the default strategy for inheritance, allowing change of behaviour from JDO2.

See Also:
Constant Field Values

DATASTORE_DELAY_OPERATIONS_UNTIL_COMMIT_PROPERTY

public static final java.lang.String DATASTORE_DELAY_OPERATIONS_UNTIL_COMMIT_PROPERTY
Property defining if datastore ops are delated til commit. In optimistic tx this is automatic.

See Also:
Constant Field Values

DATASTORE_CLASS_ADDITION_MAX_RETRIES_PROPERTY

public static final 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.

See Also:
Constant Field Values

ADD_UNIQUE_CONSTRAINT_MAP_INVERSE_PROPERTY

public static final 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

See Also:
Constant Field Values

QUERY_USE_FETCH_PLAN_PROPERTY

public static final java.lang.String QUERY_USE_FETCH_PLAN_PROPERTY
Property defining whetehr to use the FetchPlan when executing the query.

See Also:
Constant Field Values

QUERY_TIMEOUT_PROPERTY

public static final java.lang.String QUERY_TIMEOUT_PROPERTY
Property defining the timeout (seconds) for any queries.

See Also:
Constant Field Values

QUERY_FETCH_SIZE_PROPERTY

public static final 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.

See Also:
Constant Field Values

QUERY_FETCH_DIRECTION_PROPERTY

public static final java.lang.String QUERY_FETCH_DIRECTION_PROPERTY
Property defining the direction in which a result set will be navigated.

See Also:
Constant Field Values

QUERY_RESULT_SET_TYPE_PROPERTY

public static final java.lang.String QUERY_RESULT_SET_TYPE_PROPERTY
Property defining the type of result set to create.

See Also:
Constant Field Values

QUERY_RESULT_SET_CONCURRENCY_PROPERTY

public static final java.lang.String QUERY_RESULT_SET_CONCURRENCY_PROPERTY
Property defining the concurrency of the result set

See Also:
Constant Field Values

QUERY_USE_INNER_JOINS_ONLY_PROPERTY

public static final java.lang.String QUERY_USE_INNER_JOINS_ONLY_PROPERTY
Property defining the whether to use inner joins only on queries.

See Also:
Constant Field Values

QUERY_ALLOW_ALL_SQL_STATEMENTS

public static final java.lang.String QUERY_ALLOW_ALL_SQL_STATEMENTS
Property for allow/disallow all SQL statements.

See Also:
Constant Field Values

STRING_DEFAULT_LENGTH_PROPERTY

public static final 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.

See Also:
Constant Field Values

DATE_TIMEZONE_PROPERTY

public static final java.lang.String DATE_TIMEZONE_PROPERTY
Property defining the timezone name to assume all dates are in in the datastore.

See Also:
Constant Field Values

PERSISTENCE_BY_REACHABILITY_AT_COMMIT

public static final java.lang.String PERSISTENCE_BY_REACHABILITY_AT_COMMIT
Property defining whether PBR is run at commit time (JDO default is true).

See Also:
Constant Field Values

MAX_FETCH_DEPTH_PROPERTY

public static final java.lang.String MAX_FETCH_DEPTH_PROPERTY
Property defining the maximum fetch depth to use by default.

See Also:
Constant Field Values

PROPERTIES_FILE

public static final java.lang.String PROPERTIES_FILE
Property defining a file that contains properties that will be loaded by JPOX.

See Also:
Constant Field Values

configurable

protected transient boolean configurable
Constructor Detail

PMFConfiguration

public PMFConfiguration()
Constructor. Initialises all properties using the System property values. This behaviour is not specified by the JDO spec(s) but is a nice to have capability allowing users to define command line args to set up their (single) PMF.

Method Detail

equals

public boolean equals(java.lang.Object obj)
Equality operator.

Parameters:
obj - Object to compare against.
Returns:
Whether the objects are equal.

setConnectionUserName

public void setConnectionUserName(java.lang.String userName)
Set the user name for the data store connection.

Parameters:
userName - the user name for the data store connection.

getConnectionUserName

public java.lang.String getConnectionUserName()
Get the user name for the data store connection.

Returns:
the user name for the data store connection.

setConnectionPassword

public void setConnectionPassword(java.lang.String password)
Set the password for the data store connection.

Parameters:
password - the password for the data store connection.

setConnectionURL

public void setConnectionURL(java.lang.String url)
Set the URL for the data store connection.

Parameters:
url - the URL for the data store connection.

getConnectionURL

public java.lang.String getConnectionURL()
Get the URL for the data store connection.

Returns:
the URL for the data store connection.

setConnectionDriverName

public void setConnectionDriverName(java.lang.String driverName)
Set the driver name for the data store connection.

Parameters:
driverName - the driver name for the data store connection.

getConnectionDriverName

public java.lang.String getConnectionDriverName()
Get the driver name for the data store connection.

Returns:
the driver name for the data store connection.

getConnectionPassword

public java.lang.String getConnectionPassword()
Get the password for the data store connection.

Returns:
the password for the data store connection.

setConnectionFactoryName

public void setConnectionFactoryName(java.lang.String connectionFactoryName)
Set the name for the data store connection factory.

Parameters:
connectionFactoryName - name of the data store connection factory.

getConnectionFactoryName

public java.lang.String getConnectionFactoryName()
Get the name for the data store connection factory.

Returns:
the name of the data store connection factory.

setConnectionFactory

public void setConnectionFactory(java.lang.Object connectionFactory)
Set the data store connection factory. JDO implementations will support specific connection factories. The connection factory interfaces are not part of the JDO specification.

Parameters:
connectionFactory - the data store connection factory.

getConnectionFactory

public java.lang.Object getConnectionFactory()
Get the data store connection factory.

Returns:
the data store connection factory.

setConnectionFactory2Name

public void setConnectionFactory2Name(java.lang.String connectionFactoryName)
Set the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions.

Parameters:
connectionFactoryName - name of the data store connection factory.

getConnectionFactory2Name

public java.lang.String getConnectionFactory2Name()
Get the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions.

Returns:
the name of the data store connection factory.

setConnectionFactory2

public void setConnectionFactory2(java.lang.Object connectionFactory)
Set the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. JDO implementations will support specific connection factories. The connection factory interfaces are not part of the JDO specification.

Parameters:
connectionFactory - the data store connection factory.

getConnectionFactory2

public java.lang.Object getConnectionFactory2()
Get the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions.

Returns:
the data store connection factory.

setMultithreaded

public void setMultithreaded(boolean flag)
Set the default Multithreaded setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default Multithreaded setting.

getMultithreaded

public boolean getMultithreaded()
Get the default Multithreaded setting for all PersistenceManager instances obtained from this factory.

Returns:
the default Multithreaded setting.

setOptimistic

public void setOptimistic(boolean flag)
Set the default Optimistic setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default Optimistic setting.

getOptimistic

public boolean getOptimistic()
Get the default Optimistic setting for all PersistenceManager instances obtained from this factory.

Returns:
the default Optimistic setting.

setRetainValues

public void setRetainValues(boolean flag)
Set the default RetainValues setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default RetainValues setting.

getRetainValues

public boolean getRetainValues()
Get the default RetainValues setting for all PersistenceManager instances obtained from this factory.

Returns:
the default RetainValues setting.

setRestoreValues

public void setRestoreValues(boolean flag)
Set the default RestoreValues setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default RestoreValues setting.

getRestoreValues

public boolean getRestoreValues()
Get the default RestoreValues setting for all PersistenceManager instances obtained from this factory.

Returns:
the default RestoreValues setting.

setNontransactionalRead

public void setNontransactionalRead(boolean flag)
Set the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default NontransactionalRead setting.

getNontransactionalRead

public boolean getNontransactionalRead()
Get the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory.

Returns:
the default NontransactionalRead setting.

setNontransactionalWrite

public void setNontransactionalWrite(boolean flag)
Set the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default NontransactionalWrite setting.

getNontransactionalWrite

public boolean getNontransactionalWrite()
Get the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory.

Returns:
the default NontransactionalWrite setting.

setIgnoreCache

public void setIgnoreCache(boolean flag)
Set the default IgnoreCache setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default IgnoreCache setting.

getIgnoreCache

public boolean getIgnoreCache()
Get the default IgnoreCache setting for all PersistenceManager instances obtained from this factory.

Returns:
the IgnoreCache setting.

setDetachOnClose

public void setDetachOnClose(boolean flag)
Set the default DetachOnClose setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default DetachOnClose setting.
Since:
1.1

getDetachOnClose

public boolean getDetachOnClose()
Get the default DetachOnClose setting for all PersistenceManager instances obtained from this factory.

Returns:
the DetachOnClose setting.
Since:
1.1

setDetachAllOnCommit

public void setDetachAllOnCommit(boolean flag)
Mutator for the DetachAllOnCommit setting.

Parameters:
flag - the default DetachAllOnCommit setting.
Since:
1.1

getDetachAllOnCommit

public boolean getDetachAllOnCommit()
Accessor for the DetachAllOnCommit setting.

Returns:
the DetachAllOnCommit setting.
Since:
1.1

setMapping

public void setMapping(java.lang.String mapping)
Set the name for any mapping, used in searching for ORM/Query metadata files.

Parameters:
mapping - the mapping name

getMapping

public java.lang.String getMapping()
Get the name for any mapping, used in retrieving metadata files for ORM/Query data.

Returns:
the name for the mapping.

setCatalog

public void setCatalog(java.lang.String catalog)
Mutator for the catalog to use for this PMF.

Parameters:
catalog - Name of the catalog
Since:
1.1

getCatalog

public java.lang.String getCatalog()
Accessor for the catalog to use for this PMF.

Returns:
the name of the catalog
Since:
1.1

setSchema

public void setSchema(java.lang.String schema)
Mutator for the schema to use for this PMF.

Parameters:
schema - Name of the schema
Since:
1.1

getSchema

public java.lang.String getSchema()
Accessor for the schema to use for this PMF.

Returns:
the name of the schema
Since:
1.1

setDatastoreAdapterClassName

public void setDatastoreAdapterClassName(java.lang.String adapterClassName)
Set the name of the datastore adapter to use.

Parameters:
adapterClassName - Name of the class of the datastore adapter to use.
Since:
1.1

getDatastoreAdapterClassName

public java.lang.String getDatastoreAdapterClassName()
Accessor for the datastore adapter class name (null implies autodetect)

Returns:
the datastore adapter class name to use.
Since:
1.1

setConnectionPoolingType

public void setConnectionPoolingType(java.lang.String type)
Set the connection pooling type.

Parameters:
type - The connection pooling type
Since:
1.1

getConnectionPoolingType

public java.lang.String getConnectionPoolingType()
Get the connection pooling type.

Returns:
the connection pooling type to be used.
Since:
1.1

setConnectionPoolingConfigurationFile

public void setConnectionPoolingConfigurationFile(java.lang.String file)
Set the connection pooling configuration file to use.

Parameters:
file - The connection pooling configuration file
Since:
1.1

getConnectionPoolingConfigurationFile

public java.lang.String getConnectionPoolingConfigurationFile()
Get the connection pooling configuration file.

Returns:
the connection pooling configuration file to be used.
Since:
1.1

setPersistentIdGenerator

public void setPersistentIdGenerator(java.lang.String generatorClassName)
Set the default PersistentIdGenerator class name for all PersistenceManager instances obtained from this factory.

Parameters:
generatorClassName - the default persistent Id Generator class name.

getPersistentIdGenerator

public java.lang.String getPersistentIdGenerator()
Get the default PersistentIdGenerator class name for all PersistenceManager instances obtained from this factory.

Returns:
the default persistent Id Generator class name .

setCheckExistTablesOrViews

public void setCheckExistTablesOrViews(boolean flag)
Set the default CheckExistTablesOrViews setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default CheckExistTablesOrViews setting.

getCheckExistTablesOrViews

public boolean getCheckExistTablesOrViews()
Get the default CheckExistTablesOrViews setting for all PersistenceManager instances obtained from this factory.

Returns:
the default CheckExistTablesOrViews setting.

setValidateTables

public void setValidateTables(boolean flag)
Set the default ValidateTables setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default ValidateTables setting.

getValidateTables

public boolean getValidateTables()
Get the default ValidateTables setting for all PersistenceManager instances obtained from this factory.

Returns:
the default ValidateTables setting.

setInitializePrimaryKeyColumnInfo

public void setInitializePrimaryKeyColumnInfo(boolean flag)
Set the default InitializePrimaryKeyColumnInfo setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default InitializePrimaryKeyColumnInfo setting.

getInitializePrimaryKeyColumnInfo

public boolean getInitializePrimaryKeyColumnInfo()
Get the default InitializePrimaryKeyColumnInfo setting for all PersistenceManager instances obtained from this factory.

Returns:
the default InitializePrimaryKeyColumnInfo setting.

setValidateColumns

public void setValidateColumns(boolean flag)
Set the default ValidateColumns setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default ValidateColumns setting.
Since:
1.1

getValidateColumns

public boolean getValidateColumns()
Get the default ValidateColumns setting for all PersistenceManager instances obtained from this factory.

Returns:
the default ValidateColumns setting.
Since:
1.1

setValidateConstraints

public void setValidateConstraints(boolean flag)
Set the default ValidateConstraints setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default ValidateConstraints setting.

getValidateConstraints

public boolean getValidateConstraints()
Get the default ValidateConstraints setting for all PersistenceManager instances obtained from this factory.

Returns:
the default ValidateConstraints setting.

setReadOnlySchema

public void setReadOnlySchema(boolean flag)
Set whether this datastore schema is readOnly

Parameters:
flag - the readOnly setting.

getReadOnlySchema

public boolean getReadOnlySchema()
Get the readOnlySchema setting for the datastore managed by this PMF.

Returns:
the readOnly setting.

setFixedSchema

public void setFixedSchema(boolean flag)
Set whether this datastore schema is fixed

Parameters:
flag - the fixed setting.

getFixedSchema

public boolean getFixedSchema()
Get the fixedSchema setting for the datastore managed by this PMF.

Returns:
the fixed setting.

setForeignKeyCreateMode

public void setForeignKeyCreateMode(java.lang.String mode)
Mutator for the foreign key creation mode

Parameters:
mode - the FK create mode
Since:
1.1

getForeignKeyCreateMode

public java.lang.String getForeignKeyCreateMode()
Accessor for the FK creation mode.

Returns:
the FK creation mode
Since:
1.1

setUniqueConstraintsMapInverse

public void setUniqueConstraintsMapInverse(boolean flag)
Set the default UniqueConstraintsMapInverse setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default UniqueConstraintsMapInverse setting.

getUniqueConstraintsMapInverse

public boolean getUniqueConstraintsMapInverse()
Get the default UniqueConstraintsMapInverse setting for all PersistenceManager instances obtained from this factory.

Returns:
the default UniqueConstraintsMapInverse setting.

getUseUpdateLock

public boolean getUseUpdateLock()
Get the use update lock flag for fetches.

Returns:
the default useUpdateLock setting.

setUseUpdateLock

public void setUseUpdateLock(boolean flag)
Set whether to use the update lock for fetches.

Parameters:
flag - the useUpdateLock setting.

getDatastoreDelayOperationsEnabled

public boolean getDatastoreDelayOperationsEnabled()
Whether the datastore operations are delayed until commit. In optimistic transactions this is automatically enabled.

Returns:
true if datastore operations are delayed until commit

setDatastoreDelayOperationsEnabled

public void setDatastoreDelayOperationsEnabled(boolean flag)
Whether the datastore operations are delayed until commit. In optimistic transactions this is automatically enabled.

Parameters:
flag - true if datastore operations should be delayed until commit

getDatastoreClassAdditionMaxRetries

public int getDatastoreClassAdditionMaxRetries()
Accessor for the maximum number of retries for adding a class to the store manager.

Returns:
The max number of retries
Since:
1.1

setDatastoreClassAdditionMaxRetries

public void setDatastoreClassAdditionMaxRetries(int max)
Set the max number of times to retry adding a class to the store manager.

Parameters:
max - The max number of retries
Since:
1.1

getPersistenceByReachabilityAtCommit

public boolean getPersistenceByReachabilityAtCommit()
Accessor for whether "persistence-by-reachability" is run at commit time.

Returns:
Whether to run PBR at commit time

setPersistenceByReachabilityAtCommit

public void setPersistenceByReachabilityAtCommit(boolean flag)
Mutator for whether to run "persistence-by-reachability" at commit time.

Parameters:
flag - Whether to run PBR at commit time

getMaxFetchDepth

public int getMaxFetchDepth()
Accessor for the maximum fetch depth to use by default.

Returns:
Max fetch depth to use

setMaxFetchDepth

public void setMaxFetchDepth(int value)
Mutator for the default max fetch depth

Parameters:
value - Max fetch depth to use

getClassLoaderResolverName

public java.lang.String getClassLoaderResolverName()
Accessor for the name of the class loader resolver.

Returns:
Name of the class loader resolver class to use.

setClassLoaderResolverName

public void setClassLoaderResolverName(java.lang.String clrName)
Mutator for the class loader resolver name to use.

Parameters:
clrName - Class Loader resolver name to use

getImplementationCreatorName

public java.lang.String getImplementationCreatorName()
Accessor for the name of the implementation creator class.

Returns:
Name of the implementation creator class to use.

setImplementationCreatorName

public void setImplementationCreatorName(java.lang.String implCreatorName)
Mutator for the implementation creator name to use.

Parameters:
implCreatorName - Name of implementation creator class to use

getDefaultInheritanceStrategy

public java.lang.String getDefaultInheritanceStrategy()
Accessor for the default inheritance strategy to use.

Returns:
the default inheritance strategy
Since:
1.1

setDefaultInheritanceStrategy

public void setDefaultInheritanceStrategy(java.lang.String strategy)
Mutator for the default inheritance strategy.

Parameters:
strategy - the default inheritance strategy
Since:
1.1

setAutoCreateSchema

public void setAutoCreateSchema(boolean flag)
Set the default AutoCreateSchema setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default AutoCreateSchema setting.

setAutoCreateTables

public void setAutoCreateTables(boolean flag)
Set the default AutoCreateTables setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default AutoCreateTables setting.

getAutoCreateTables

public boolean getAutoCreateTables()
Get the default AutoCreateTables setting for all PersistenceManager instances obtained from this factory.

Returns:
the default AutoCreateTables setting.

setAutoCreateColumns

public void setAutoCreateColumns(boolean flag)
Set the default AutoCreateColumns setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default AutoCreateColumns setting.
Since:
1.1

getAutoCreateColumns

public boolean getAutoCreateColumns()
Get the default AutoCreateColumns setting for all PersistenceManager instances obtained from this factory.

Returns:
the default AutoCreateColumns setting.
Since:
1.1

setAutoCreateConstraints

public void setAutoCreateConstraints(boolean flag)
Set the default AutoCreateConstraints setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default AutoCreateConstraints setting.

getAutoCreateConstraints

public boolean getAutoCreateConstraints()
Get the default AutoCreateConstraints setting for all PersistenceManager instances obtained from this factory.

Returns:
the default AutoCreateConstraints setting.

setAutoCreateWarnOnError

public void setAutoCreateWarnOnError(boolean flag)
Set the default AutoCreateWarnOnError setting for all PersistenceManager instances obtained from this factory.

Parameters:
flag - the default AutoCreateWarnOnError setting.

getAutoCreateWarnOnError

public boolean getAutoCreateWarnOnError()
Get the default AutoCreateWarnOnError setting for all PersistenceManager instances obtained from this factory.

Returns:
the default AutoCreateWarnOnError setting.

getAutoStartMechanism

public java.lang.String getAutoStartMechanism()
Accessor for the Auto-Start Mechanism for management of which classes are supported in this data store. Currently supports several possible values for this parameter including "None" ,"SchemaTable" (default), "XML", and "Classes".

Returns:
the Auto-Start Mechanism setting.

setAutoStartMechanism

public void setAutoStartMechanism(java.lang.String mechanism)
Set the default AutoStartMechanism setting for all PersistenceManager instances obtained from this factory.

Parameters:
mechanism - None = no auto start SchemaTable = creates a schema table (default) XML = use XML file Classes = use specified classes

getAutoStartMechanismXmlFile

public java.lang.String getAutoStartMechanismXmlFile()
Accessor for the name of the XML file to use when using the XML AutoStarter

Returns:
The XML file name

setAutoStartMechanismXmlFile

public void setAutoStartMechanismXmlFile(java.lang.String xmlFile)
Mutator for the XML filename when using the XML AutoStarter.

Parameters:
xmlFile - Name of the XML file

getAutoStartMechanismMode

public java.lang.String getAutoStartMechanismMode()
Accessor for the Auto-Start Mechanism Mode for how the auto start mechanism operates. Currently supports 3 possible values for this parameter "Checked", "Ignored", and "Quiet" (default).

Returns:
the Auto-Start Mechanism Mode setting.

setAutoStartMechanismMode

public void setAutoStartMechanismMode(java.lang.String mode)
Set the default AutoStartMechanismMode setting for all PersistenceManager instances obtained from this factory.

Parameters:
mode - Checked = raise exceptions on errors Ignored = proceed without corrections Quiet = correct errors and proceed (default)

getAutoStartClassNames

public java.lang.String getAutoStartClassNames()
Accessor for the names of the classes to be loaded at startup.

Returns:
Names of classes to load
Since:
1.1

setAutoStartClassNames

public void setAutoStartClassNames(java.lang.String classNames)
Mutator for the names of classes to load at startup.

Parameters:
classNames - Name of the classes to load.
Since:
1.1

getPoidTransactionIsolationLevel

public int getPoidTransactionIsolationLevel()
Get the default transaction isolation level for all PoidGenerator instances.

Returns:
the default transaction isolation level for PoidGenerator instances.

setPoidTransactionIsolation

protected void setPoidTransactionIsolation(java.lang.String isolationLevelName)
Set the default transaction isolation level for all PoidGenerator instances.

Parameters:
isolationLevelName - One of the values "read uncommitted", "read committed", "repeatable read", or "serializable". The name is case-insensitive, and spaces and underscores are equivalent.

setPoidTransactionIsolation

public void setPoidTransactionIsolation(int isolationLevel)
Set the default transaction isolation level for all PoidGenerator instances.

Parameters:
isolationLevel - the default transaction isolation level.

getPoidTransactionAttribute

public java.lang.String getPoidTransactionAttribute()
Whether to use the PM connection or open a new connection

Returns:
Returns the poidTransactionAttribute.

setPoidTransactionAttribute

public void setPoidTransactionAttribute(java.lang.String poidTransactionAttribute)
Set whether to use the PM connection or open a new connection

Parameters:
poidTransactionAttribute - The poidTransactionAttribute to set.

getQueryUseFetchPlan

public boolean getQueryUseFetchPlan()
Accessor for whether to use the FetchPlan in queries.

Returns:
Whether to use the FetchPlan in queries
Since:
1.1

setQueryUseFetchPlan

public void setQueryUseFetchPlan(boolean useFetchPlan)
Set whether to use the FetchPlan in queries

Parameters:
useFetchPlan - Whether to use the FetchPlan in queries
Since:
1.1

isQueryAllowAllSQLStatements

public boolean isQueryAllowAllSQLStatements()
Whether to allow running any SQL statement in SQL queries.

Returns:
true if allowed to execute any SQL stament in SQL queries
Since:
1.1

setQueryAllowAllSQLStatements

public void setQueryAllowAllSQLStatements(boolean allow)
Whether to allow running any SQL statement in SQL queries.

Parameters:
allow - true if allowed to execute any SQL stament in SQL queries
Since:
1.1

getQueryTimeout

public int getQueryTimeout()
Accessor for the timeout for queries.

Returns:
The timeout
Since:
1.1

setQueryTimeout

public void setQueryTimeout(int timeout)
Set the timeout for queries

Parameters:
timeout - The timeout to use
Since:
1.1

getQueryFetchSize

public int getQueryFetchSize()
Accessor for the fetch size to use for ResultSet's.

Returns:
The fetch size
Since:
1.1

setQueryFetchSize

public void setQueryFetchSize(int size)
Set the fetch size to use for ResultSet's.

Parameters:
size - The fetch size to use
Since:
1.1

getQueryFetchDirection

public java.lang.String getQueryFetchDirection()
Accessor for the fetch direction to use for ResultSet's.

Returns:
The fetch direction.
Since:
1.1

setQueryFetchDirection

public void setQueryFetchDirection(java.lang.String dir)
Set the fetch direction to use for ResultSet's.

Parameters:
dir - The fetch direction to use
Since:
1.1

getQueryResultSetType

public java.lang.String getQueryResultSetType()
Accessor for the type of ResultSet

Returns:
The ResultSet type.
Since:
1.1

setQueryResultSetType

public void setQueryResultSetType(java.lang.String type)
Set the type of the ResultSet

Parameters:
type - The ResultSet type
Since:
1.1

getQueryResultSetConcurrency

public java.lang.String getQueryResultSetConcurrency()
Accessor for the concurrency of ResultSet

Returns:
The ResultSet concurrency.
Since:
1.1

setQueryResultSetConcurrency

public void setQueryResultSetConcurrency(java.lang.String concur)
Set the concurrency of the ResultSet

Parameters:
concur - The ResultSet concurrency
Since:
1.1

getQueryUseInnerJoinsOnly

public boolean getQueryUseInnerJoinsOnly()
Accessor for whether to use inner joins only in JDOQL.

Returns:
Whether to use inner joins only
Since:
1.1

setQueryUseInnerJoinsOnly

public void setQueryUseInnerJoinsOnly(boolean useInner)
Set whether to use inner joins only

Parameters:
useInner - Whether to use inner joins only
Since:
1.1

getStringDefaultLength

public int getStringDefaultLength()
Accessor for the default max length for strings.

Returns:
The default length for strings

setStringDefaultLength

public void setStringDefaultLength(int len)
Set the default length for strings.

Parameters:
len - Default length for strings

getDateTimezone

public java.lang.String getDateTimezone()
Accessor for the timezone in which all dates are stored in the datastore.

Returns:
The timezone for all dates in the datastore
Since:
1.1

setDateTimezone

public void setDateTimezone(java.lang.String timezone)
Set the timezone to use for dates in the datastore. "JDK_DEFAULT_TIMEZONE" allows users to use the local JDK timezone.

Parameters:
timezone - The timezone to use for all dates in the datastore
Since:
1.1

getCalendarForDateTimezone

public java.util.Calendar getCalendarForDateTimezone()
Accessor for the Calendar to be used in handling all timezone issues with the datastore. The Calendar will be null if the user has selected "JDK_DEFAULT_TIMEZONE" as the DateTimezone.

Returns:
The calendar to use for dateTimezone issues.

getJdoCacheCollections

public boolean getJdoCacheCollections()
Accessor for whether to cache collections.

Returns:
whether to cache collections.

setJdoCacheCollections

public void setJdoCacheCollections(boolean cache)
Set whether to cache collections for this PMF.

Parameters:
cache - Whether to cache collections.

getJdoCacheCollectionsLazy

public java.lang.Boolean getJdoCacheCollectionsLazy()
Accessor for whether to lazy load any cached collections.

Returns:
whether to lazy load any cache collections.

setJdoCacheCollectionsLazy

public void setJdoCacheCollectionsLazy(java.lang.Boolean lazy)
Set whether to lazy load any cached collections for this PMF.

Parameters:
lazy - Whether to lazy load any cache collections.

getJdoCacheLevel1Type

public java.lang.String getJdoCacheLevel1Type()
Accessor for the JDO Level 1 Cache Type

Returns:
the JDO Level 1 Cache Type
Since:
1.1

setJdoCacheLevel1Type

public void setJdoCacheLevel1Type(java.lang.String type)
Set the default Level 1 Cache Type for all PersistenceManager instances obtained from this factory.

Parameters:
type - the Level 1 Cache Type
Since:
1.1

getJdoCacheLevel2

public boolean getJdoCacheLevel2()
Accessor for whether to use a level 2 Cache.

Returns:
whether to use a level 2 Cache.
Since:
1.1

setJdoCacheLevel2

public void setJdoCacheLevel2(boolean cache)
Set whether to use a Level 2 Cache for this PMF.

Parameters:
cache - Whether to use a level 2 Cache
Since:
1.1

getJdoCacheLevel2Type

public java.lang.String getJdoCacheLevel2Type()
Accessor for the JDO Level 2 Cache Type

Returns:
the JDO Level 2 Cache Type
Since:
1.1

setJdoCacheLevel2Type

public void setJdoCacheLevel2Type(java.lang.String type)
Set the default Level 2 Cache Type for all PersistenceManager instances obtained from this factory.

Parameters:
type - the Level 2 Cache Type
Since:
1.1

getJdoCacheLevel2CacheName

public java.lang.String getJdoCacheLevel2CacheName()
Accessor for the JDO Level 2 Cache Name

Returns:
the JDO Level 2 Cache Name
Since:
1.1

setJdoCacheLevel2CacheName

public void setJdoCacheLevel2CacheName(java.lang.String name)
Set the default Level 2 Cache Name for all PersistenceManager instances obtained from this factory.

Parameters:
name - Name of the cache
Since:
1.1

getJdoCacheLevel2ConfigurationFile

public java.lang.String getJdoCacheLevel2ConfigurationFile()
Accessor for the JDO Level 2 Configuration File

Returns:
the JDO Level 2 Configuration File
Since:
1.1

setJdoCacheLevel2ConfigurationFile

public void setJdoCacheLevel2ConfigurationFile(java.lang.String confFile)
Set the default Level 2 Configuration File for all PersistenceManager instances obtained from this factory.

Parameters:
confFile - The File Name of the configuration file
Since:
1.1

setTransactionIsolation

protected void setTransactionIsolation(java.lang.String isolationLevelName)
Set the default transaction isolation level for all PersistenceManager instances obtained from this factory.

Parameters:
isolationLevelName - One of the values "read uncommitted", "read committed", "repeatable read", or "serializable". The name is case-insensitive, and spaces and underscores are equivalent.

setTransactionIsolation

public void setTransactionIsolation(int isolationLevel)
Set the default transaction isolation level for all PersistenceManager instances obtained from this factory.

Parameters:
isolationLevel - the default transaction isolation level.

getTransactionIsolation

public int getTransactionIsolation()
Get the default transaction isolation level for all PersistenceManager instances obtained from this factory.

Returns:
the default transaction isolation level.

getIdentifierNamingStrategy

public java.lang.String getIdentifierNamingStrategy()
Get the naming strategy

Returns:
the naming strategy for identifiers

setIdentifierNamingStrategy

public void setIdentifierNamingStrategy(java.lang.String strategy)
Set the identifier naming strategy

Parameters:
strategy - the identifier naming strategy

getIdentifierTablePrefix

public java.lang.String getIdentifierTablePrefix()
Accessor for the identifier prefix for tables

Returns:
the table identifier prefix

setIdentifierTablePrefix

public void setIdentifierTablePrefix(java.lang.String value)
Accessor for the prefix for table identifiers

Parameters:
value - the prefix for table identifiers

getIdentifierTableSuffix

public java.lang.String getIdentifierTableSuffix()
Accessor for the identifier suffix for tables

Returns:
the table identifier suffix

setIdentifierTableSuffix

public void setIdentifierTableSuffix(java.lang.String value)
Accessor for the suffix for table identifiers

Parameters:
value - the suffix for table identifiers

getIdentifierWordSeparator

public java.lang.String getIdentifierWordSeparator()
Accessor for the word separator for identifiers

Returns:
the word separator for identifiers

setIdentifierWordSeparator

public void setIdentifierWordSeparator(java.lang.String value)
Accessor for the word separator for identifiers

Parameters:
value - the word separator for identifiers

getIdentifierCase

public java.lang.String getIdentifierCase()
Accessor for the Case Identifier

Returns:
the Case Identifier

setIdentifierCase

public void setIdentifierCase(java.lang.String value)
Accessor for the Case Identifier

Parameters:
value - the Case Identifier

setPropertiesFile

public void setPropertiesFile(java.lang.String value)
Accessor for the suffix for table identifiers

Parameters:
value - the suffix for table identifiers

getPropertiesFile

public java.io.File getPropertiesFile()
Accessor for the properties file that is loaded by this

Returns:
the properties file that is loaded by this

getDictionary

public Dictionary getDictionary()
Accessor for the dictionary.

Returns:
Returns the dictionary.

getJdoMetaDataFileExtension

public java.lang.String getJdoMetaDataFileExtension()
Accessor for the JDO MetaData file extension.

Returns:
Returns the JDO metadata File Extension.

setJdoMetaDataFileExtension

public void setJdoMetaDataFileExtension(java.lang.String metadataFileExtension)
Mutator for the JDO MetaData file extension.

Parameters:
metadataFileExtension - The JDO metadata File Extension to set.

getOrmMetaDataFileExtension

public java.lang.String getOrmMetaDataFileExtension()
Accessor for the ORM MetaData file extension.

Returns:
Returns the ORM metadata File Extension.

setOrmMetaDataFileExtension

public void setOrmMetaDataFileExtension(java.lang.String metadataFileExtension)
Mutator for the ORM MetaData file extension.

Parameters:
metadataFileExtension - The ORM metadata File Extension to set.

getJdoqueryMetaDataFileExtension

public java.lang.String getJdoqueryMetaDataFileExtension()
Accessor for the JDO Query MetaData file extension.

Returns:
Returns the JDO Query metadata File Extension.

setJdoqueryMetaDataFileExtension

public void setJdoqueryMetaDataFileExtension(java.lang.String metadataFileExtension)
Mutator for the JDO Query MetaData file extension.

Parameters:
metadataFileExtension - The JDO Query metadata File Extension to set.

getMetaDataValidate

public boolean getMetaDataValidate()
Accessor for whether to validate the metadata.

Returns:
Returns whether to validate the metadata

setMetaDataValidate

public void setMetaDataValidate(boolean validate)
Mutator for whether to validate the metadata

Parameters:
validate - Whether to validate the metadata

assertConfigurable

protected void assertConfigurable()
Asserts that a change to a configuration property is allowed.


initPropertySetters

protected java.util.Map initPropertySetters()
Initialize the PROPERTY_SETTERS Map.

Returns:
The PROPERTY_SETTERS Map.

setOptions

protected void setOptions(java.util.Properties props)
Set the options for this PersistenceManagerFactory based on the given Properties.

Parameters:
props - The Properties to set the options from.

setOptions

protected void setOptions(java.util.Map props)
Set the options for this PersistenceManagerFactory based on the given map of properties.

Parameters:
props - The Properties to set the options from.

getOptions

protected java.util.Map getOptions()
Get the options for this PersistenceManagerFactory

Returns:
the PersistenceManagerFactory


Copyright © -2007 . All Rights Reserved.