Java Doc for PersistenceConfiguration.java in  » Database-ORM » JPOX » org » jpox » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » JPOX » org.jpox 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jpox.PersistenceConfiguration

All known Subclasses:   org.jpox.SchemaTool,  org.jpox.ObjectManagerFactoryImpl,
PersistenceConfiguration
abstract public class PersistenceConfiguration (Code)
Class providing configuration for persistence. Can be extended by PersistenceManagerFactory/EntityManagerFactory to provide their own additions if required. All properties should have setter/getter, and should have a "PropertySetter" to allow loading of the property from the persistence factory Properties.
version:
   $Revision: 1.52 $

Inner Class :protected interface StringPropertySetter
Inner Class :protected interface ObjectPropertySetter

Field Summary
final public static  StringADD_UNIQUE_CONSTRAINT_MAP_INVERSE_PROPERTY
     Property defining whether to add unique constraints to the element table for a map inverse field (RDBMS datastores).
final public static  StringATTACH_SAME_DATASTORE_PROPERTY
     Property defining if attach operations should assume that detached objects are from the same datastore.
final public static  StringAUTO_CREATE_COLUMNS_PROPERTY
     Property for whether to auto create the columns upon loading.
final public static  StringAUTO_CREATE_CONSTRAINTS_PROPERTY
     The system property that selects the default value for the AutoCreateConstraints setting.
final public static  StringAUTO_CREATE_SCHEMA_PROPERTY
     Property for whether to auto create the schema upon loading.
final public static  StringAUTO_CREATE_TABLES_PROPERTY
     Property for whether to auto create the tables upon loading.
final public static  StringAUTO_CREATE_WARN_ON_ERROR_PROPERTY
     Property for whether to warn only when receiving an error on auto creation.
final public static  StringAUTO_START_CLASS_NAMES_PROPERTY
     Property defining the names of the classes whose MetaData is to be loaded at startup.
final public static  StringAUTO_START_MECHANISM_MODE_PROPERTY
     Property defining the mode of operation of any auto-start mechanism.
final public static  StringAUTO_START_MECHANISM_PROPERTY
     Property defining the auto-start mechanism to use (if any).
final public static  StringAUTO_START_MECHANISM_XML_FILE_PROPERTY
     Property defining the name of the file used when using the XML AutoStartMechanism.
final public static  StringCACHE_COLLECTIONS_LAZY_PROPERTY
     Property defining whether to lazy load collections (when cached).
final public static  StringCACHE_COLLECTIONS_PROPERTY
     Property defining whether to cache collections.
final public static  StringCACHE_LEVEL_1_TYPE_PROPERTY
     Property defining the type of Level 1 Cache to use.
final public static  StringCACHE_LEVEL_2_CACHE_NAME_PROPERTY
     Property defining the symbolic name of the cache to use for Level 2.
final public static  StringCACHE_LEVEL_2_CONFIGURATION_FILE_PROPERTY
     Property defining the configuration file of the cache to use for Level 2.
final public static  StringCACHE_LEVEL_2_PROPERTY
     Property defining whether to use a Level 2 Cache.
final public static  StringCACHE_LEVEL_2_TYPE_PROPERTY
     Property defining the type of Level 2 Cache to use.
final public static  StringCHECK_EXIST_TABLES_VIEWS_PROPERTY
     Property for whether to check if the table/view exists.
final public static  StringCLASS_LOADER_RESOLVER_NAME_PROPERTY
     ClassLoaderResolver name property.
final public static  StringCONNECTION2_RESOURCE_TYPE
     Property defining the resource type for the connection 2.
final public static  StringCONNECTION_POOLING_CONFIGURATION_FILE_PROPERTY
     Property defining the configuration file for connection pooling.
final public static  StringCONNECTION_POOLING_TYPE_PROPERTY
     Property defining how to pool connections.
final public static  StringCONNECTION_PROVIDER_FAILONERROR_PROPERTY
     Property for failOnError setting.
final public static  StringCONNECTION_PROVIDER_NAME_PROPERTY
     Property for name of the registered connection provider.
final public static  StringCONNECTION_RESOURCE_TYPE
     Property defining the resource type for the connection.
final public static  StringDATASTORE_ADAPTER_CLASSNAME_PROPERTY
     Property defining the classname of the datastore adapter to use.
final public static  StringDATASTORE_CLASS_ADDITION_MAX_RETRIES_PROPERTY
     Property for how many times to retry the addition of a class to the store management.
final public static  StringDATASTORE_IDENTITY_CLASS_NAME_PROPERTY
     datastore-identity class name property.
final public static  StringDATASTORE_TXN_DELAY_OPERATIONS_PROPERTY
     Property defining if we should delay operations til commit/flush with datastore txns.
final public static  StringDATASTORE_TXN_FLUSH_LIMIT_PROPERTY
     Property defining the limit on number of dirty objects before flush occurs with datastore txns.
final public static  StringDB4O_FLUSH_BUFFERS_PROPERTY
     Property defining whether to flush DB4O file buffers on commit.
final public static  StringDB4O_GENERATE_UUIDS_PROPERTY
     Property defining whether to generate UUIDs for all classes.
final public static  StringDB4O_OUTPUT_FILE_PROPERTY
     Property defining the DB4O output file.
final public static  StringDEFAULT_INHERITANCE_STRATEGY_PROPERTY
     Property defining the default strategy for inheritance, allowing change of behaviour from JDO2.
final public static  StringDELETION_POLICY_PROPERTY
     The system property that defines the process for deletions.
final public static  StringDETACH_ON_CLOSE_PROPERTY
     Detach-on-close property.
final public static  StringDISCRIMINATOR_PER_SUBCLASSTABLE_PROPERTY
     Property defining if we should have a discriminator col per subclass (backwards compatibility only).
final public static  StringFIND_OBJECT_CHECK_INHERITANCE_PROPERTY
     Property for whether to check inheritance on findObject requests.
final public static  StringFIXED_DATASTORE_PROPERTY
     Whether the datastore schema is read-only and so writes should not be performed.
final public static  StringIDENTIFIER_CASE_PROPERTY
     Property defining the identifier case to be used.
final public static  StringIDENTIFIER_FACTORY_PROPERTY
     Property defining the identifier factory to use.
final public static  StringIDENTIFIER_TABLE_PREFIX_PROPERTY
     Property defining the table prefix for use in identifiers (if supported by the factory).
final public static  StringIDENTIFIER_TABLE_SUFFIX_PROPERTY
     Property defining the table suffix for use in identifiers (if supported by the factory).
final public static  StringIDENTIFIER_WORD_SEPARATOR_PROPERTY
     Property defining the word separator for use in identifiers (if supported by the factory).
final public static  StringIMPLEMENTATION_CREATOR_NAME_PROPERTY
     Implementation Creator name property.
final public static  StringINITIALIZE_COLUMN_INFO_PROPERTY
     Property defining to what level to initialise column info when validating.
final public static  StringJDO_CONNECTION_FACTORY2_NAME_PROPERTY
     Datastore connection factory 2 name property.
final public static  StringJDO_CONNECTION_FACTORY2_PROPERTY
     Datastore connection factory 2 property.
final public static  StringJDO_CONNECTION_FACTORY_NAME_PROPERTY
     Datastore connection factory name property.
final public static  StringJDO_CONNECTION_FACTORY_PROPERTY
     Datastore connection factory property.
final public static  StringJDO_COPYONATTACH_PROPERTY
    
final public static  StringJDO_DATASTORE_DRIVERNAME_PROPERTY
     Datastore driver name property.
final public static  StringJDO_DATASTORE_PASSWORD_PROPERTY
     Datastore connection password property.
final public static  StringJDO_DATASTORE_URL_PROPERTY
     Datastore URL property.
final public static  StringJDO_DATASTORE_USERNAME_PROPERTY
     Datastore connection username property.
final public static  StringJDO_DETACHALLONCOMMIT_PROPERTY
    
final public static  StringJDO_IGNORECACHE_PROPERTY
     Ignore Cache property.
final public static  StringJDO_MAPPING_CATALOG_PROPERTY
     Catalog name property.
final public static  StringJDO_MAPPING_PROPERTY
     Mapping suffix property.
final public static  StringJDO_MAPPING_SCHEMA_PROPERTY
     Schema name property.
final public static  StringJDO_MULTITHREADED_PROPERTY
     Multithreaded property.
final public static  StringJDO_NAME_PROPERTY
     Property representing the name of the persistence factory.
final public static  StringJDO_NONTRANSACTIONAL_READ_PROPERTY
     Non-transactional Read property.
final public static  StringJDO_NONTRANSACTIONAL_WRITE_PROPERTY
     Non-transactional Write property.
final public static  StringJDO_OPTIMISTIC_PROPERTY
     Optimistic transaction property.
final public static  StringJDO_PERSISTENCE_UNIT_NAME_PROPERTY
     "persistence-unit" name property.
final public static  StringJDO_PMF_CLASS_PROPERTY
     JDO PMF class property.
final public static  StringJDO_RESTOREVALUES_PROPERTY
     Restore values property.
final public static  StringJDO_RETAINVALUES_PROPERTY
     Retain values property.
final public static  StringJDO_SERVER_TIMEZONE_ID_PROPERTY
     Server timezone "id".
final public static  StringJDO_TRANSACTION_TYPE_PROPERTY
     JDO Transaction type property.
final public static  StringJPA_ONE_TO_MANY_UNI_FK_PROPERTY
     Name of property to use to define if we should support 1-N uni FK relations.
final public static  StringJPA_PERSISTENCE_PROVIDER_PROPERTY
     JPA persistence provider property.
final public static  StringJPA_TRANSACTION_TYPE_PROPERTY
     JPA Transaction type property.
final public static  StringJTA_JNDI_LOCATION_PROPERTY
     Property defining the JTA JNDI location to use (if known).
final public static  StringJTA_LOCATOR_PROPERTY
     Property defining the JTA locator to use.
final protected static  LocaliserLOCALISER
     Localisation of messages.
final public static  StringMANAGED_RUNTIME_PROPERTY
     Property defining whether to register MBeans for use as part of a managed runtime system.
final public static  StringMANAGE_RELATIONSHIPS_CHECKS_PROPERTY
     Property for whether to check managed relationships.
final public static  StringMANAGE_RELATIONSHIPS_PROPERTY
     Property for whether to manage relationships.
final public static  StringMAX_FETCH_DEPTH_PROPERTY
     Property defining the maximum fetch depth to use by default.
final public static  StringMESSAGES_INCLUDE_CODES_PROPERTY
     Property defining whether to include codes in messages.
final public static  StringMETADATA_ANNOTATIONS_MANAGER_PROPERTY
     Property defining the name of the class that will manage annoations.
final public static  StringMETADATA_JDOQUERY_FILE_EXTENSION_PROPERTY
     Property defining the file extension for the JDO Query metadata files.
final public static  StringMETADATA_JDO_FILE_EXTENSION_PROPERTY
     Property defining the file extension for the JDO metadata files.
final public static  StringMETADATA_ORM_FILE_EXTENSION_PROPERTY
     Property defining the file extension for the ORM metadata files.
final public static  StringMETADATA_VALIDATE_PROPERTY
     Property defining whether to validate the metadata files.
final public static  StringORACLE_SORT_ORDER_PROPERTY
     Property defining the sort order for Oracle datastores.
final public static  StringPERSISTENCE_API_NAME
     The API name to use for persistence.
final public static  StringPERSISTENCE_BY_REACHABILITY_AT_COMMIT
     Property defining whether PBR is run at commit time (JDO default is true).
final public static  StringPERSIST_EMPTY_STRING_AS_NULL_PROPERTY
     Property defining if we should persist an empty string as null in the datastore.
final public static  StringPLUGIN_REGISTRY_BUNDLE_CHECK
    
final public static  StringPLUGIN_REGISTRY_CLASS_NAME
    
final public static  StringPOID_TRANSACTION_ATTRIBUTE_PROPERTY
    
final public static  StringPOID_TRANSACTION_ISOLATION_PROPERTY
     Property defining the transaction isolation to use when obtaining POIDs.
final public static  StringPRIMARY_CLASS_LOADER_PROPERTY
     Property for a primary ClassLoader setting.
final public static  StringPROPERTIES_FILE
     Property defining a file that contains properties that will be loaded by JPOX.
final public static  StringQUERY_ALLOW_ALL_SQL_STATEMENTS
     Property for allow/disallow all SQL statements.
final public static  StringQUERY_CONTAINS_EXISTS_ALWAYS_PROPERTY
     Property defining the whether to use EXISTS with contains clause.
final public static  StringQUERY_EXISTS_INCLUDES_PROPERTY
     Property defining the whether to apply constraints to the exists clause.
final public static  StringQUERY_FETCH_DIRECTION_PROPERTY
     Property defining the direction in which a result set will be navigated.
final public static  StringQUERY_FLUSH_BEFORE_EXECUTION_PROPERTY
     Property defining whether to flush all changes before executing the query.
final public static  StringQUERY_JOIN_TYPE_PROPERTY
     Property defining the type of joins to use on a query/queries.
final public static  StringQUERY_RESULT_SET_CONCURRENCY_PROPERTY
     Property defining the concurrency of the result set (RDBMS datastores).
final public static  StringQUERY_RESULT_SET_TYPE_PROPERTY
     Property defining the type of result set to create (RDBMS datastores).
final public static  StringQUERY_TIMEOUT_PROPERTY
     Property defining the timeout (seconds) for any queries.
final public static  StringQUERY_USE_FETCH_PLAN_PROPERTY
     Property defining whether to use the FetchPlan when executing the query.
final public static  StringRDBMS_CONSTRAINT_CREATE_MODE_PROPERTY
     The system property that defines the mode of creation of RDBMS constraints.
final public static  StringREAD_ONLY_DATASTORE_ACTION_PROPERTY
     What should happen when using a read-only datastore and an update is attempted.
final public static  StringREAD_ONLY_DATASTORE_PROPERTY
     Whether the datastore schema is read-only and so writes should not be performed.
final public static  StringSTATEMENT_BATCH_LIMIT_PROPERTY
     Property for the maximum number of statements that can be batched (0 = no batching) RDBMS datastores.
final public static  StringSTORE_MANAGER_TYPE
     Property defining the StoreManager to use.
final public static  StringSTRING_DEFAULT_LENGTH_PROPERTY
     Property defining the default string length when storing a String type in the datastore and no length given (RDBMS datastores).
final public static  StringSTRING_LENGTH_ACTION_PROPERTY
     Property defining the action when persisting a String too long for the datastore column (RDBMS datastores).
final public static  StringTRANSACTION_ISOLATION_PROPERTY
     Property defining the transaction isolation mode to use.
final public static  StringUSE_UPDATE_LOCK_PROPERTY
     Property defining whether to use "SELECT ...
final public static  StringVALIDATE_COLUMNS_PROPERTY
     Property for whether to validate the columns upon loading.
final public static  StringVALIDATE_CONSTRAINTS_PROPERTY
    
final public static  StringVALIDATE_TABLES_PROPERTY
     Property for whether to validate the tables upon loading.
protected transient  booleanconfigurable
    

Constructor Summary
public  PersistenceConfiguration()
     Constructor. Initialises all properties using the System property values.

Method Summary
protected  voidassertConfigurable()
     Asserts that a change to a configuration property is allowed.
public synchronized  booleanequals(Object obj)
     Equality operator.
Parameters:
  obj - Object to compare against.
public  booleangetAttachSameDatastore()
     Accessor for whether we can assume that when attaching any detached objects are detached from the same datastore.
public  booleangetAutoCreateColumns()
     Get the default AutoCreateColumns setting for all PersistenceManager instances obtained from this factory.
public  booleangetAutoCreateConstraints()
     Get the default AutoCreateConstraints setting for all PersistenceManager instances obtained from this factory.
public  booleangetAutoCreateSchema()
     Get the default AutoCreateSchema setting for all PersistenceManager instances obtained from this factory.
public  booleangetAutoCreateTables()
     Get the default AutoCreateTables setting for all PersistenceManager instances obtained from this factory.
public  booleangetAutoCreateWarnOnError()
     Get the default AutoCreateWarnOnError setting for all PersistenceManager instances obtained from this factory.
public  StringgetAutoStartClassNames()
     Accessor for the names of the classes to be loaded at startup.
public  StringgetAutoStartMechanism()
     Accessor for the Auto-Start Mechanism for management of which classes are supported in this data store.
public  StringgetAutoStartMechanismMode()
     Accessor for the Auto-Start Mechanism Mode for how the auto start mechanism operates.
public  StringgetAutoStartMechanismXmlFile()
    
public  booleangetCacheCollections()
     Accessor for whether to cache collections.
public  BooleangetCacheCollectionsLazy()
     Accessor for whether to lazy load any cached collections.
public  StringgetCacheLevel1Type()
    
public  booleangetCacheLevel2()
     Accessor for whether to use a level 2 Cache.
public  StringgetCacheLevel2CacheName()
    
public  StringgetCacheLevel2ConfigurationFile()
    
public  StringgetCacheLevel2Type()
    
public  CalendargetCalendarForDateTimezone()
     Accessor for the Calendar to be used in handling all timezone issues with the datastore.
public  StringgetCatalog()
     Accessor for the catalog to use for this persistence factory.
public  booleangetCheckExistTablesOrViews()
     Get the default CheckExistTablesOrViews setting for all PersistenceManager instances obtained from this factory.
public  StringgetClassLoaderResolverName()
     Accessor for the name of the class loader resolver.
public  StringgetConnection2ResourceType()
    
public  StringgetConnectionDriverName()
     Get the driver name for the data store connection.
public  ObjectgetConnectionFactory()
     Get the data store connection factory.
public  ObjectgetConnectionFactory2()
     Get the second data store connection factory.
public  StringgetConnectionFactory2Name()
     Get the name for the second data store connection factory.
public  StringgetConnectionFactoryName()
     Get the name for the data store connection factory.
public  StringgetConnectionPassword()
     Get the password for the data store connection.
public  StringgetConnectionPoolingConfigurationFile()
     Get the connection pooling configuration file.
public  StringgetConnectionPoolingType()
     Get the connection pooling type.
public  booleangetConnectionProviderFailOnError()
     Get the connection provider failOnError.
public  StringgetConnectionProviderName()
     Get the connection provider name.
public  StringgetConnectionResourceType()
    
public  StringgetConnectionURL()
     Get the URL for the data store connection.
public  StringgetConnectionUserName()
     Get the user name for the data store connection.
public  booleangetCopyOnAttach()
     Accessor for the CopyOnAttach setting.
public  StringgetDatastoreAdapterClassName()
    
public  intgetDatastoreClassAdditionMaxRetries()
     Accessor for the maximum number of retries for adding a class to the store manager.
public  StringgetDatastoreIdentityClassName()
    
public  intgetDatastoreTransactionFlushLimit()
     Accessor for the limit on number of dirty objects before a flush happens with datastore transactions.
public  booleangetDatastoreTransactionsDelayOperations()
     Whether with datastore transactions we delay operations until commit.
public  booleangetDb4oFlushFileBuffers()
     Accessor for whether to flush DB4O file buffers on commit.
public  booleangetDb4oGenerateUUIDs()
     Accessor for whether to generate UUIDs.
public  StringgetDb4oOutputFile()
    
public  StringgetDefaultInheritanceStrategy()
     Accessor for the default inheritance strategy to use.
public  StringgetDeletionPolicy()
     Accessor for the deletion policy.
public  booleangetDetachAllOnCommit()
     Accessor for the DetachAllOnCommit setting.
public  booleangetDetachOnClose()
     Get the default DetachOnClose setting for all PersistenceManager instances obtained from this factory.
public  booleangetDiscriminatorPerSubclassTable()
     Accessor for whether to have a discriminator column on all subclass tables.
public  booleangetFindObjectCheckInheritance()
     Accessor for whether we should check the inheritance on find object by id.
public  booleangetFixedDatastore()
     Accessor for whether the datastore is read-only (no structural changes allowed).
public  StringgetIdentifierCase()
    
public  StringgetIdentifierFactory()
    
public  StringgetIdentifierTablePrefix()
    
public  StringgetIdentifierTableSuffix()
    
public  StringgetIdentifierWordSeparator()
    
public  booleangetIgnoreCache()
     Get the default IgnoreCache setting for all PersistenceManager instances obtained from this factory.
public  StringgetImplementationCreatorName()
     Accessor for the name of the implementation creator.
public  StringgetInitializeColumnInfo()
     Get the default InitializeColumnInfo setting for all PersistenceManager instances obtained from this factory.
public  StringgetJdoMetaDataFileExtension()
     Accessor for the JDO MetaData file extension.
public  StringgetJdoqueryMetaDataFileExtension()
     Accessor for the JDO Query MetaData file extension.
public  booleangetJpaOneToManyUniFkRelations()
    
public  StringgetJtaJndiLocation()
     Accessor for the JNDI location to use (if any) to get the JTA txn manager.
public  StringgetJtaLocator()
     Accessor for the JTA locator to use (if any).
public  booleangetManageRelationships()
     Accessor for whether to manage (bidirectional) relationships at flush/commit.
public  booleangetManageRelationshipsChecks()
     Accessor for whether to check manage (bidirectional) relationships at flush/commit.
public  BooleangetManagedRuntime()
     Accessor for whether to provide a managed runtime (MBeans).
public  StringgetMapping()
     Get the name for any mapping, used in retrieving metadata files for ORM/Query data.
public  intgetMaxFetchDepth()
     Accessor for the maximum fetch depth to use by default.
public  BooleangetMessagesIncludeCodes()
     Method to return whether we include codes in any output messages.
public  StringgetMetaDataAnnotationsManager()
     Accessor for the class name of the annotations manager.
public  booleangetMetaDataValidate()
     Accessor for whether to validate the metadata.
public  booleangetMultithreaded()
     Get the default Multithreaded setting for all PersistenceManager instances obtained from this factory.
public  StringgetName()
     Accessor for the name of the persistence factory (if any).
public  booleangetNontransactionalRead()
     Get the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory.
public  booleangetNontransactionalWrite()
     Get the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory.
public  booleangetOptimistic()
     Get the default Optimistic setting for all PersistenceManager instances obtained from this factory.
public  MapgetOptions()
    
public  StringgetOracleNlsSortOrder()
     Accessor for the NLS sort order for Oracle.
public  StringgetOrmMetaDataFileExtension()
     Accessor for the ORM MetaData file extension.
public  booleangetPersistEmptyStringAsNull()
     Accessor for whether to persist an empty string as null in the datastore (RDBMS).
public  StringgetPersistenceApiName()
    
public  booleangetPersistenceByReachabilityAtCommit()
     Accessor for whether "persistence-by-reachability" is run at commit time.
public  StringgetPersistenceUnitName()
    
public  StringgetPluginRegistryBundleCheck()
     Mutator for what check the plugin registry should make on duplicate bundles.
public  StringgetPluginRegistryClassName()
     Mutator for the PluginRegistry class name.
public  StringgetPoidTransactionAttribute()
    
public  intgetPoidTransactionIsolationLevel()
     Get the default transaction isolation level for all PoidGenerator instances.
public  ClassLoadergetPrimaryClassLoader()
     Accessor for the primary class loader.
public  booleangetQueryContainsUsesExistsAlways()
     Accessor for whether to always use EXISTS with contains().
public  booleangetQueryExistsIncludesConstraints()
     Accessor for whether to apply constraints to exists inner expression.
public  StringgetQueryFetchDirection()
     Accessor for the fetch direction to use for ResultSet's.
public  booleangetQueryFlushBeforeExecution()
     Accessor for whether to flush before executing queries.
public  StringgetQueryJoinType()
     Accessor for join type to use with queries.
public  StringgetQueryResultSetConcurrency()
    
public  StringgetQueryResultSetType()
    
public  intgetQueryTimeout()
     Accessor for the timeout for queries.
public  booleangetQueryUseFetchPlan()
     Accessor for whether to use the FetchPlan in queries.
public  StringgetRDBMSConstraintCreateMode()
     Accessor for the RDBMS constraint creation mode.
public  booleangetReadOnlyDatastore()
     Accessor for whether the datastore is read-only (no structural or content changes allowed).
public  StringgetReadOnlyDatastoreAction()
     Accessor for the action when we have a read-only datastore and an update is attempted.
public  booleangetRestoreValues()
     Get the default RestoreValues setting for all PersistenceManager instances obtained from this factory.
public  booleangetRetainValues()
     Get the default RetainValues setting for all PersistenceManager instances obtained from this factory.
public  StringgetSchema()
     Accessor for the schema to use for this persistence factory.
public  StringgetServerTimeZoneID()
     Accessor for the timezone "id" of the datastore server (if any).
public  intgetStatementBatchLimit()
     Accessor for the limit on number of SQL statements that can be batched in one go.
public  StringgetStoreManagerType()
     Accessor for the StoreManager type to use.
public  intgetStringDefaultLength()
     Accessor for the default max length for strings.
public  StringgetStringLengthExceededAction()
     Accessor for the action when persisting a string that exceeds the datastore column length.
public  intgetTransactionIsolation()
     Get the default transaction isolation level for all PersistenceManager instances obtained from this factory.
public  StringgetTransactionType()
     Accessor for the transaction type to use with this persistence factory.
public  booleangetUniqueConstraintsMapInverse()
     Get the default UniqueConstraintsMapInverse setting for all PersistenceManager instances obtained from this factory.
public  booleangetUseUpdateLock()
     Get the use update lock flag for fetches.
public  booleangetValidateColumns()
     Get the default ValidateColumns setting for all PersistenceManager instances obtained from this factory.
public  booleangetValidateConstraints()
     Get the default ValidateConstraints setting for all PersistenceManager instances obtained from this factory.
public  booleangetValidateTables()
     Get the default ValidateTables setting for all PersistenceManager instances obtained from this factory.
protected  MapinitPropertySetters()
     Initialize the PROPERTY_SETTERS Map.
public  booleanisJcaMode()
     Accessor for the JCA mode.
public  booleanisQueryAllowAllSQLStatements()
     Whether to allow running any SQL statement in SQL queries.
public synchronized  voidsetAttachSameDatastore(boolean flag)
     Mutator for whether when attaching we can assume that any detached objects are from this same datastore.
public synchronized  voidsetAutoCreateColumns(boolean flag)
     Set the default AutoCreateColumns setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetAutoCreateConstraints(boolean flag)
     Set the default AutoCreateConstraints setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetAutoCreateSchema(boolean flag)
     Set the default AutoCreateSchema setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetAutoCreateTables(boolean flag)
     Set the default AutoCreateTables setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetAutoCreateWarnOnError(boolean flag)
     Set the default AutoCreateWarnOnError setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetAutoStartClassNames(String classNames)
     Mutator for the names of classes to load at startup.
public synchronized  voidsetAutoStartMechanism(String mechanism)
     Set the AutoStartMechanism setting to this persistence factory.
public synchronized  voidsetAutoStartMechanismMode(String mode)
     Set the default AutoStartMechanismMode setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetAutoStartMechanismXmlFile(String xmlFile)
     Mutator for the XML filename when using the XML AutoStarter.
public synchronized  voidsetCacheCollections(boolean cache)
     Set whether to cache collections for this persistence factory.
public synchronized  voidsetCacheCollectionsLazy(Boolean lazy)
     Set whether to lazy load any cached collections for this persistence factory.
public synchronized  voidsetCacheLevel1Type(String type)
     Set the default Level 1 Cache Type for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetCacheLevel2(boolean cache)
     Set whether to use a Level 2 Cache for this persistence factory.
public synchronized  voidsetCacheLevel2CacheName(String name)
     Set the default Level 2 Cache Name for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetCacheLevel2ConfigurationFile(String confFile)
     Set the default Level 2 Configuration File for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetCacheLevel2Type(String type)
     Set the default Level 2 Cache Type for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetCatalog(String catalog)
     Mutator for the catalog to use for this persistence factory.
public synchronized  voidsetCheckExistTablesOrViews(boolean flag)
     Set the default CheckExistTablesOrViews setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetClassLoaderResolverName(String clrName)
     Mutator for the class loader resolver name to use.
public synchronized  voidsetConnection2ResourceType(String resourceType)
    
public synchronized  voidsetConnectionDriverName(String driverName)
     Set the driver name for the data store connection.
public synchronized  voidsetConnectionFactory(Object connectionFactory)
     Set the data store connection factory.
public synchronized  voidsetConnectionFactory2(Object connectionFactory)
     Set the second data store connection factory.
public synchronized  voidsetConnectionFactory2Name(String connectionFactoryName)
     Set the name for the second data store connection factory.
public synchronized  voidsetConnectionFactoryName(String connectionFactoryName)
     Set the name for the data store connection factory.
public synchronized  voidsetConnectionPassword(String password)
     Set the password for the data store connection.
public synchronized  voidsetConnectionPoolingConfigurationFile(String file)
     Set the connection pooling configuration file to use.
public synchronized  voidsetConnectionPoolingType(String type)
     Set the connection pooling type.
public synchronized  voidsetConnectionProviderFailOnError(boolean flag)
     Set the connection provider failOnError.
public synchronized  voidsetConnectionProviderName(String name)
     Set the connection provider name.
public synchronized  voidsetConnectionResourceType(String resourceType)
    
public synchronized  voidsetConnectionURL(String url)
     Set the URL for the data store connection.
public synchronized  voidsetConnectionUserName(String userName)
     Set the user name for the data store connection.
public synchronized  voidsetCopyOnAttach(boolean flag)
     Mutator for the CopyOnAttach setting.
public synchronized  voidsetDatastoreAdapterClassName(String adapterClassName)
     Set the name of the datastore adapter to use.
public  voidsetDatastoreClassAdditionMaxRetries(int max)
     Set the max number of times to retry adding a class to the store manager.
public synchronized  voidsetDatastoreIdentityClassName(String name)
    
protected synchronized  voidsetDatastoreTransactionFlushLimit(int limit)
     Mutator for the limit of number of dirty objects before a flush happens with datastore transactions.
public synchronized  voidsetDatastoreTransactionsDelayOperations(boolean flag)
     Whether with datastore transactions we delay operations until commit.
public synchronized  voidsetDb4oFlushFileBuffers(boolean flush)
    
public synchronized  voidsetDb4oGenerateUUIDs(boolean gen)
     Set whether to generate UUIDs.
public synchronized  voidsetDb4oOutputFile(String file)
     Set the DB4O Output File name.
public synchronized  voidsetDefaultInheritanceStrategy(String strategy)
     Mutator for the default inheritance strategy.
public synchronized  voidsetDeletionPolicy(String policy)
    
public synchronized  voidsetDetachAllOnCommit(boolean flag)
     Mutator for the DetachAllOnCommit setting.
public synchronized  voidsetDetachOnClose(boolean flag)
     Set the default DetachOnClose setting for all PersistenceManager instances obtained from this factory.
public  voidsetDiscriminatorPerSubclassTable(boolean flag)
     Mutator for whether to have a discriminator column added to all subclass tables.
public synchronized  voidsetFindObjectCheckInheritance(boolean flag)
     Mutator for whether we should check inheritance when finding an object by its id.
public synchronized  voidsetFixedDatastore(boolean flag)
    
public synchronized  voidsetIdentifierCase(String idCase)
    
public synchronized  voidsetIdentifierFactory(String factory)
    
public synchronized  voidsetIdentifierTablePrefix(String prefix)
    
public synchronized  voidsetIdentifierTableSuffix(String suffix)
    
public synchronized  voidsetIdentifierWordSeparator(String word)
    
public synchronized  voidsetIgnoreCache(boolean flag)
     Set the default IgnoreCache setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetImplementationCreatorName(String implCreatorName)
     Mutator for the implementation creator name to use.
public synchronized  voidsetInitializeColumnInfo(String flag)
     Set the default InitializeColumnInfo setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetJCAMode(Boolean jca)
     Mutator for the JCA mode.
public  voidsetJdoMetaDataFileExtension(String metadataFileExtension)
     Mutator for the JDO MetaData file extension.
public  voidsetJdoqueryMetaDataFileExtension(String metadataFileExtension)
     Mutator for the JDO Query MetaData file extension.
public synchronized  voidsetJpaOneToManyUniFkRelations(boolean flag)
     Mutator for whether to allow 1-N unidir FK relations when using JPA.
protected synchronized  voidsetJtaJndiLocation(String jndi)
     Mutator for the JNDI location to use (if any) to get the JTA txn manager.
protected synchronized  voidsetJtaLocator(String locator)
     Mutator for the JTA Locator to use when using JTA transactions.
Parameters:
  locator - Name of the locator.
public synchronized  voidsetManageRelationships(boolean flag)
     Mutator for whether to manage (bidirectional) relationships at flush/commit.
public synchronized  voidsetManageRelationshipsChecks(boolean flag)
     Mutator for whether to check manage (bidirectional) relationships at flush/commit.
public synchronized  voidsetManagedRuntime(Boolean managed)
     Mutator for whether to provide a managed runtime.
public synchronized  voidsetMapping(String mapping)
     Set the name for any mapping, used in searching for ORM/Query metadata files.
public synchronized  voidsetMaxFetchDepth(int value)
    
public  voidsetMessagesIncludeCodes(Boolean include)
     Mutator for whether to includes codes in messages.
public  voidsetMetaDataAnnotationsManager(String mgr)
    
public  voidsetMetaDataValidate(boolean validate)
    
public synchronized  voidsetMultithreaded(boolean flag)
     Set the default Multithreaded setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetName(String name)
     Mutator for the name of the persistence factory.
public synchronized  voidsetNontransactionalRead(boolean flag)
     Set the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetNontransactionalWrite(boolean flag)
     Set the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetOptimistic(boolean flag)
     Set the default Optimistic setting for all PersistenceManager instances obtained from this factory.
protected  voidsetOptions(Properties props)
     Set the options for this PersistenceManagerFactory based on the given Properties.
protected  voidsetOptions(Map props)
     Set the options for this PersistenceManagerFactory based on the given map of properties.
public  voidsetOracleNlsSortOrder(String order)
     Set the NLS sort order for oracle.
public  voidsetOrmMetaDataFileExtension(String metadataFileExtension)
     Mutator for the ORM MetaData file extension.
public  voidsetPersistEmptyStringAsNull(boolean flag)
     Mutator for whether to persist an empty string as null in the datastore (RDBMS).
public synchronized  voidsetPersistenceApiName(String name)
    
public synchronized  voidsetPersistenceByReachabilityAtCommit(boolean flag)
     Mutator for whether to run "persistence-by-reachability" at commit time.
public synchronized  voidsetPersistenceUnitName(String name)
     Mutator for the name of the persistence unit.
public  voidsetPluginRegistryBundleCheck(String check)
     Mutator for what check the plugin registry should perform on dup bundles.
public  voidsetPluginRegistryClassName(String pluginRegistryClassName)
     Mutator for the PluginRegistry class name.
public  voidsetPoidTransactionAttribute(String poidTransactionAttribute)
    
protected synchronized  voidsetPoidTransactionIsolation(String isolationLevelName)
     Set the default transaction isolation level for all PoidGenerator instances.
Parameters:
  isolationLevelName - One of the values "read uncommitted", "read committed", "repeatableread", or "serializable".
public synchronized  voidsetPoidTransactionIsolation(int isolationLevel)
     Set the default transaction isolation level for all PoidGenerator instances.
public synchronized  voidsetPrimaryClassLoaderResolver(ClassLoader clr)
     Mutator for the primary class loader.
public synchronized  voidsetPropertiesFile(String value)
    
public  voidsetQueryAllowAllSQLStatements(boolean allow)
     Whether to allow running any SQL statement in SQL queries.
public  voidsetQueryContainsUsesExistsAlways(boolean always)
     Set whether to always use EXISTS with any contains().
public  voidsetQueryExistsIncludesConstraints(boolean includes)
     Set whether to apply constraints to exists inner expression.
public  voidsetQueryFetchDirection(String dir)
     Set the fetch direction to use for ResultSet's.
public  voidsetQueryFlushBeforeExecution(boolean flush)
    
public  voidsetQueryJoinType(String type)
     Set the join type to use on queries.
public  voidsetQueryResultSetConcurrency(String concur)
    
public  voidsetQueryResultSetType(String type)
    
public  voidsetQueryTimeout(int timeout)
    
public  voidsetQueryUseFetchPlan(boolean useFetchPlan)
    
public synchronized  voidsetRDBMSConstraintCreateMode(String mode)
    
public synchronized  voidsetReadOnlyDatastore(boolean flag)
    
public synchronized  voidsetReadOnlyDatastoreAction(String action)
     Set the action when we have a read-only datastore and an update is attempted.
public synchronized  voidsetRestoreValues(boolean flag)
     Set the default RestoreValues setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetRetainValues(boolean flag)
     Set the default RetainValues setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetSchema(String schema)
     Mutator for the schema to use for this persistence factory.
public  voidsetServerTimeZoneID(String id)
     Mutator for the timezone id of the datastore server.
public synchronized  voidsetStatementBatchLimit(int limit)
     Set the limit on number of SQL statements that can be batched in one go.
public synchronized  voidsetStoreManagerType(String type)
     Mutator for the store manager type.
public  voidsetStringDefaultLength(int len)
     Set the default length for strings.
public  voidsetStringLengthExceededAction(String action)
     Set the action when persisting a string too long for the datastore.
protected synchronized  voidsetTransactionIsolation(String isolationLevelName)
     Set the default transaction isolation level for all PersistenceManager instances obtained from this factory.
Parameters:
  isolationLevelName - One of the values "none", "read uncommitted", "read committed", "repeatableread", or "serializable".
public synchronized  voidsetTransactionIsolation(int isolationLevel)
     Set the default transaction isolation level for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetTransactionType(String type)
     Mutator for the transaction type to use for this persistence factory.
public synchronized  voidsetUniqueConstraintsMapInverse(boolean flag)
     Set the default UniqueConstraintsMapInverse setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetUseUpdateLock(boolean flag)
     Set whether to use the update lock for fetches.
public synchronized  voidsetValidateColumns(boolean flag)
     Set the default ValidateColumns setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetValidateConstraints(boolean flag)
     Set the default ValidateConstraints setting for all PersistenceManager instances obtained from this factory.
public synchronized  voidsetValidateTables(boolean flag)
     Set the default ValidateTables setting for all PersistenceManager instances obtained from this factory.

Field Detail
ADD_UNIQUE_CONSTRAINT_MAP_INVERSE_PROPERTY
final public static String ADD_UNIQUE_CONSTRAINT_MAP_INVERSE_PROPERTY(Code)
Property defining whether to add unique constraints to the element table for a map inverse field (RDBMS datastores).



ATTACH_SAME_DATASTORE_PROPERTY
final public static String ATTACH_SAME_DATASTORE_PROPERTY(Code)
Property defining if attach operations should assume that detached objects are from the same datastore.



AUTO_CREATE_COLUMNS_PROPERTY
final public static String AUTO_CREATE_COLUMNS_PROPERTY(Code)
Property for whether to auto create the columns upon loading.



AUTO_CREATE_CONSTRAINTS_PROPERTY
final public static String AUTO_CREATE_CONSTRAINTS_PROPERTY(Code)
The system property that selects the default value for the AutoCreateConstraints setting.



AUTO_CREATE_SCHEMA_PROPERTY
final public static String AUTO_CREATE_SCHEMA_PROPERTY(Code)
Property for whether to auto create the schema upon loading.



AUTO_CREATE_TABLES_PROPERTY
final public static String AUTO_CREATE_TABLES_PROPERTY(Code)
Property for whether to auto create the tables upon loading.



AUTO_CREATE_WARN_ON_ERROR_PROPERTY
final public static String AUTO_CREATE_WARN_ON_ERROR_PROPERTY(Code)
Property for whether to warn only when receiving an error on auto creation.



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



AUTO_START_MECHANISM_MODE_PROPERTY
final public static String AUTO_START_MECHANISM_MODE_PROPERTY(Code)
Property defining the mode of operation of any auto-start mechanism.



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



AUTO_START_MECHANISM_XML_FILE_PROPERTY
final public static String AUTO_START_MECHANISM_XML_FILE_PROPERTY(Code)
Property defining the name of the file used when using the XML AutoStartMechanism.



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



CACHE_COLLECTIONS_PROPERTY
final public static String CACHE_COLLECTIONS_PROPERTY(Code)
Property defining whether to cache collections.



CACHE_LEVEL_1_TYPE_PROPERTY
final public static String CACHE_LEVEL_1_TYPE_PROPERTY(Code)
Property defining the type of Level 1 Cache to use.



CACHE_LEVEL_2_CACHE_NAME_PROPERTY
final public static String CACHE_LEVEL_2_CACHE_NAME_PROPERTY(Code)
Property defining the symbolic name of the cache to use for Level 2.



CACHE_LEVEL_2_CONFIGURATION_FILE_PROPERTY
final public static String CACHE_LEVEL_2_CONFIGURATION_FILE_PROPERTY(Code)
Property defining the configuration file of the cache to use for Level 2.



CACHE_LEVEL_2_PROPERTY
final public static String CACHE_LEVEL_2_PROPERTY(Code)
Property defining whether to use a Level 2 Cache.



CACHE_LEVEL_2_TYPE_PROPERTY
final public static String CACHE_LEVEL_2_TYPE_PROPERTY(Code)
Property defining the type of Level 2 Cache to use.



CHECK_EXIST_TABLES_VIEWS_PROPERTY
final public static String CHECK_EXIST_TABLES_VIEWS_PROPERTY(Code)
Property for whether to check if the table/view exists.



CLASS_LOADER_RESOLVER_NAME_PROPERTY
final public static String CLASS_LOADER_RESOLVER_NAME_PROPERTY(Code)
ClassLoaderResolver name property.



CONNECTION2_RESOURCE_TYPE
final public static String CONNECTION2_RESOURCE_TYPE(Code)
Property defining the resource type for the connection 2.



CONNECTION_POOLING_CONFIGURATION_FILE_PROPERTY
final public static String CONNECTION_POOLING_CONFIGURATION_FILE_PROPERTY(Code)
Property defining the configuration file for connection pooling.



CONNECTION_POOLING_TYPE_PROPERTY
final public static String CONNECTION_POOLING_TYPE_PROPERTY(Code)
Property defining how to pool connections.



CONNECTION_PROVIDER_FAILONERROR_PROPERTY
final public static String CONNECTION_PROVIDER_FAILONERROR_PROPERTY(Code)
Property for failOnError setting.



CONNECTION_PROVIDER_NAME_PROPERTY
final public static String CONNECTION_PROVIDER_NAME_PROPERTY(Code)
Property for name of the registered connection provider.



CONNECTION_RESOURCE_TYPE
final public static String CONNECTION_RESOURCE_TYPE(Code)
Property defining the resource type for the connection.



DATASTORE_ADAPTER_CLASSNAME_PROPERTY
final public static String DATASTORE_ADAPTER_CLASSNAME_PROPERTY(Code)
Property defining the classname of the datastore adapter to use.



DATASTORE_CLASS_ADDITION_MAX_RETRIES_PROPERTY
final public static String DATASTORE_CLASS_ADDITION_MAX_RETRIES_PROPERTY(Code)
Property for how many times to retry the addition of a class to the store management.



DATASTORE_IDENTITY_CLASS_NAME_PROPERTY
final public static String DATASTORE_IDENTITY_CLASS_NAME_PROPERTY(Code)
datastore-identity class name property.



DATASTORE_TXN_DELAY_OPERATIONS_PROPERTY
final public static String DATASTORE_TXN_DELAY_OPERATIONS_PROPERTY(Code)
Property defining if we should delay operations til commit/flush with datastore txns.



DATASTORE_TXN_FLUSH_LIMIT_PROPERTY
final public static String DATASTORE_TXN_FLUSH_LIMIT_PROPERTY(Code)
Property defining the limit on number of dirty objects before flush occurs with datastore txns.



DB4O_FLUSH_BUFFERS_PROPERTY
final public static String DB4O_FLUSH_BUFFERS_PROPERTY(Code)
Property defining whether to flush DB4O file buffers on commit.



DB4O_GENERATE_UUIDS_PROPERTY
final public static String DB4O_GENERATE_UUIDS_PROPERTY(Code)
Property defining whether to generate UUIDs for all classes.



DB4O_OUTPUT_FILE_PROPERTY
final public static String DB4O_OUTPUT_FILE_PROPERTY(Code)
Property defining the DB4O output file.



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



DELETION_POLICY_PROPERTY
final public static String DELETION_POLICY_PROPERTY(Code)
The system property that defines the process for deletions.



DETACH_ON_CLOSE_PROPERTY
final public static String DETACH_ON_CLOSE_PROPERTY(Code)
Detach-on-close property.



DISCRIMINATOR_PER_SUBCLASSTABLE_PROPERTY
final public static String DISCRIMINATOR_PER_SUBCLASSTABLE_PROPERTY(Code)
Property defining if we should have a discriminator col per subclass (backwards compatibility only).



FIND_OBJECT_CHECK_INHERITANCE_PROPERTY
final public static String FIND_OBJECT_CHECK_INHERITANCE_PROPERTY(Code)
Property for whether to check inheritance on findObject requests.



FIXED_DATASTORE_PROPERTY
final public static String FIXED_DATASTORE_PROPERTY(Code)
Whether the datastore schema is read-only and so writes should not be performed.



IDENTIFIER_CASE_PROPERTY
final public static String IDENTIFIER_CASE_PROPERTY(Code)
Property defining the identifier case to be used.



IDENTIFIER_FACTORY_PROPERTY
final public static String IDENTIFIER_FACTORY_PROPERTY(Code)
Property defining the identifier factory to use.



IDENTIFIER_TABLE_PREFIX_PROPERTY
final public static String IDENTIFIER_TABLE_PREFIX_PROPERTY(Code)
Property defining the table prefix for use in identifiers (if supported by the factory).



IDENTIFIER_TABLE_SUFFIX_PROPERTY
final public static String IDENTIFIER_TABLE_SUFFIX_PROPERTY(Code)
Property defining the table suffix for use in identifiers (if supported by the factory).



IDENTIFIER_WORD_SEPARATOR_PROPERTY
final public static String IDENTIFIER_WORD_SEPARATOR_PROPERTY(Code)
Property defining the word separator for use in identifiers (if supported by the factory).



IMPLEMENTATION_CREATOR_NAME_PROPERTY
final public static String IMPLEMENTATION_CREATOR_NAME_PROPERTY(Code)
Implementation Creator name property.



INITIALIZE_COLUMN_INFO_PROPERTY
final public static String INITIALIZE_COLUMN_INFO_PROPERTY(Code)
Property defining to what level to initialise column info when validating.



JDO_CONNECTION_FACTORY2_NAME_PROPERTY
final public static String JDO_CONNECTION_FACTORY2_NAME_PROPERTY(Code)
Datastore connection factory 2 name property.



JDO_CONNECTION_FACTORY2_PROPERTY
final public static String JDO_CONNECTION_FACTORY2_PROPERTY(Code)
Datastore connection factory 2 property.



JDO_CONNECTION_FACTORY_NAME_PROPERTY
final public static String JDO_CONNECTION_FACTORY_NAME_PROPERTY(Code)
Datastore connection factory name property.



JDO_CONNECTION_FACTORY_PROPERTY
final public static String JDO_CONNECTION_FACTORY_PROPERTY(Code)
Datastore connection factory property.



JDO_COPYONATTACH_PROPERTY
final public static String JDO_COPYONATTACH_PROPERTY(Code)
Copy-on-attach property



JDO_DATASTORE_DRIVERNAME_PROPERTY
final public static String JDO_DATASTORE_DRIVERNAME_PROPERTY(Code)
Datastore driver name property.



JDO_DATASTORE_PASSWORD_PROPERTY
final public static String JDO_DATASTORE_PASSWORD_PROPERTY(Code)
Datastore connection password property.



JDO_DATASTORE_URL_PROPERTY
final public static String JDO_DATASTORE_URL_PROPERTY(Code)
Datastore URL property.



JDO_DATASTORE_USERNAME_PROPERTY
final public static String JDO_DATASTORE_USERNAME_PROPERTY(Code)
Datastore connection username property.



JDO_DETACHALLONCOMMIT_PROPERTY
final public static String JDO_DETACHALLONCOMMIT_PROPERTY(Code)
Detach-all-on-commit property



JDO_IGNORECACHE_PROPERTY
final public static String JDO_IGNORECACHE_PROPERTY(Code)
Ignore Cache property.



JDO_MAPPING_CATALOG_PROPERTY
final public static String JDO_MAPPING_CATALOG_PROPERTY(Code)
Catalog name property.



JDO_MAPPING_PROPERTY
final public static String JDO_MAPPING_PROPERTY(Code)
Mapping suffix property.



JDO_MAPPING_SCHEMA_PROPERTY
final public static String JDO_MAPPING_SCHEMA_PROPERTY(Code)
Schema name property.



JDO_MULTITHREADED_PROPERTY
final public static String JDO_MULTITHREADED_PROPERTY(Code)
Multithreaded property.



JDO_NAME_PROPERTY
final public static String JDO_NAME_PROPERTY(Code)
Property representing the name of the persistence factory.



JDO_NONTRANSACTIONAL_READ_PROPERTY
final public static String JDO_NONTRANSACTIONAL_READ_PROPERTY(Code)
Non-transactional Read property.



JDO_NONTRANSACTIONAL_WRITE_PROPERTY
final public static String JDO_NONTRANSACTIONAL_WRITE_PROPERTY(Code)
Non-transactional Write property.



JDO_OPTIMISTIC_PROPERTY
final public static String JDO_OPTIMISTIC_PROPERTY(Code)
Optimistic transaction property.



JDO_PERSISTENCE_UNIT_NAME_PROPERTY
final public static String JDO_PERSISTENCE_UNIT_NAME_PROPERTY(Code)
"persistence-unit" name property.



JDO_PMF_CLASS_PROPERTY
final public static String JDO_PMF_CLASS_PROPERTY(Code)
JDO PMF class property.



JDO_RESTOREVALUES_PROPERTY
final public static String JDO_RESTOREVALUES_PROPERTY(Code)
Restore values property.



JDO_RETAINVALUES_PROPERTY
final public static String JDO_RETAINVALUES_PROPERTY(Code)
Retain values property.



JDO_SERVER_TIMEZONE_ID_PROPERTY
final public static String JDO_SERVER_TIMEZONE_ID_PROPERTY(Code)
Server timezone "id".



JDO_TRANSACTION_TYPE_PROPERTY
final public static String JDO_TRANSACTION_TYPE_PROPERTY(Code)
JDO Transaction type property.



JPA_ONE_TO_MANY_UNI_FK_PROPERTY
final public static String JPA_ONE_TO_MANY_UNI_FK_PROPERTY(Code)
Name of property to use to define if we should support 1-N uni FK relations.



JPA_PERSISTENCE_PROVIDER_PROPERTY
final public static String JPA_PERSISTENCE_PROVIDER_PROPERTY(Code)
JPA persistence provider property.



JPA_TRANSACTION_TYPE_PROPERTY
final public static String JPA_TRANSACTION_TYPE_PROPERTY(Code)
JPA Transaction type property.



JTA_JNDI_LOCATION_PROPERTY
final public static String JTA_JNDI_LOCATION_PROPERTY(Code)
Property defining the JTA JNDI location to use (if known).



JTA_LOCATOR_PROPERTY
final public static String JTA_LOCATOR_PROPERTY(Code)
Property defining the JTA locator to use.



LOCALISER
final protected static Localiser LOCALISER(Code)
Localisation of messages.



MANAGED_RUNTIME_PROPERTY
final public static String MANAGED_RUNTIME_PROPERTY(Code)
Property defining whether to register MBeans for use as part of a managed runtime system.



MANAGE_RELATIONSHIPS_CHECKS_PROPERTY
final public static String MANAGE_RELATIONSHIPS_CHECKS_PROPERTY(Code)
Property for whether to check managed relationships.



MANAGE_RELATIONSHIPS_PROPERTY
final public static String MANAGE_RELATIONSHIPS_PROPERTY(Code)
Property for whether to manage relationships.



MAX_FETCH_DEPTH_PROPERTY
final public static String MAX_FETCH_DEPTH_PROPERTY(Code)
Property defining the maximum fetch depth to use by default.



MESSAGES_INCLUDE_CODES_PROPERTY
final public static String MESSAGES_INCLUDE_CODES_PROPERTY(Code)
Property defining whether to include codes in messages.



METADATA_ANNOTATIONS_MANAGER_PROPERTY
final public static String METADATA_ANNOTATIONS_MANAGER_PROPERTY(Code)
Property defining the name of the class that will manage annoations.



METADATA_JDOQUERY_FILE_EXTENSION_PROPERTY
final public static String METADATA_JDOQUERY_FILE_EXTENSION_PROPERTY(Code)
Property defining the file extension for the JDO Query metadata files.



METADATA_JDO_FILE_EXTENSION_PROPERTY
final public static String METADATA_JDO_FILE_EXTENSION_PROPERTY(Code)
Property defining the file extension for the JDO metadata files.



METADATA_ORM_FILE_EXTENSION_PROPERTY
final public static String METADATA_ORM_FILE_EXTENSION_PROPERTY(Code)
Property defining the file extension for the ORM metadata files.



METADATA_VALIDATE_PROPERTY
final public static String METADATA_VALIDATE_PROPERTY(Code)
Property defining whether to validate the metadata files.



ORACLE_SORT_ORDER_PROPERTY
final public static String ORACLE_SORT_ORDER_PROPERTY(Code)
Property defining the sort order for Oracle datastores.



PERSISTENCE_API_NAME
final public static String PERSISTENCE_API_NAME(Code)
The API name to use for persistence. Defaults to JDO, but can also be JPA.



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



PERSIST_EMPTY_STRING_AS_NULL_PROPERTY
final public static String PERSIST_EMPTY_STRING_AS_NULL_PROPERTY(Code)
Property defining if we should persist an empty string as null in the datastore.



PLUGIN_REGISTRY_BUNDLE_CHECK
final public static String PLUGIN_REGISTRY_BUNDLE_CHECK(Code)
Plugin registry bundle check



PLUGIN_REGISTRY_CLASS_NAME
final public static String PLUGIN_REGISTRY_CLASS_NAME(Code)
Plugin registry class name



POID_TRANSACTION_ATTRIBUTE_PROPERTY
final public static String POID_TRANSACTION_ATTRIBUTE_PROPERTY(Code)
Property defining how to obtain a datastore connection when generating POIDs



POID_TRANSACTION_ISOLATION_PROPERTY
final public static String POID_TRANSACTION_ISOLATION_PROPERTY(Code)
Property defining the transaction isolation to use when obtaining POIDs.



PRIMARY_CLASS_LOADER_PROPERTY
final public static String PRIMARY_CLASS_LOADER_PROPERTY(Code)
Property for a primary ClassLoader setting.



PROPERTIES_FILE
final public static String PROPERTIES_FILE(Code)
Property defining a file that contains properties that will be loaded by JPOX.



QUERY_ALLOW_ALL_SQL_STATEMENTS
final public static String QUERY_ALLOW_ALL_SQL_STATEMENTS(Code)
Property for allow/disallow all SQL statements.



QUERY_CONTAINS_EXISTS_ALWAYS_PROPERTY
final public static String QUERY_CONTAINS_EXISTS_ALWAYS_PROPERTY(Code)
Property defining the whether to use EXISTS with contains clause.



QUERY_EXISTS_INCLUDES_PROPERTY
final public static String QUERY_EXISTS_INCLUDES_PROPERTY(Code)
Property defining the whether to apply constraints to the exists clause.



QUERY_FETCH_DIRECTION_PROPERTY
final public static String QUERY_FETCH_DIRECTION_PROPERTY(Code)
Property defining the direction in which a result set will be navigated.



QUERY_FLUSH_BEFORE_EXECUTION_PROPERTY
final public static String QUERY_FLUSH_BEFORE_EXECUTION_PROPERTY(Code)
Property defining whether to flush all changes before executing the query.



QUERY_JOIN_TYPE_PROPERTY
final public static String QUERY_JOIN_TYPE_PROPERTY(Code)
Property defining the type of joins to use on a query/queries.



QUERY_RESULT_SET_CONCURRENCY_PROPERTY
final public static String QUERY_RESULT_SET_CONCURRENCY_PROPERTY(Code)
Property defining the concurrency of the result set (RDBMS datastores).



QUERY_RESULT_SET_TYPE_PROPERTY
final public static String QUERY_RESULT_SET_TYPE_PROPERTY(Code)
Property defining the type of result set to create (RDBMS datastores).



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



QUERY_USE_FETCH_PLAN_PROPERTY
final public static String QUERY_USE_FETCH_PLAN_PROPERTY(Code)
Property defining whether to use the FetchPlan when executing the query.



RDBMS_CONSTRAINT_CREATE_MODE_PROPERTY
final public static String RDBMS_CONSTRAINT_CREATE_MODE_PROPERTY(Code)
The system property that defines the mode of creation of RDBMS constraints.



READ_ONLY_DATASTORE_ACTION_PROPERTY
final public static String READ_ONLY_DATASTORE_ACTION_PROPERTY(Code)
What should happen when using a read-only datastore and an update is attempted.



READ_ONLY_DATASTORE_PROPERTY
final public static String READ_ONLY_DATASTORE_PROPERTY(Code)
Whether the datastore schema is read-only and so writes should not be performed.



STATEMENT_BATCH_LIMIT_PROPERTY
final public static String STATEMENT_BATCH_LIMIT_PROPERTY(Code)
Property for the maximum number of statements that can be batched (0 = no batching) RDBMS datastores.



STORE_MANAGER_TYPE
final public static String STORE_MANAGER_TYPE(Code)
Property defining the StoreManager to use. Only used when we dont have a datastore URL.



STRING_DEFAULT_LENGTH_PROPERTY
final public static String STRING_DEFAULT_LENGTH_PROPERTY(Code)
Property defining the default string length when storing a String type in the datastore and no length given (RDBMS datastores).



STRING_LENGTH_ACTION_PROPERTY
final public static String STRING_LENGTH_ACTION_PROPERTY(Code)
Property defining the action when persisting a String too long for the datastore column (RDBMS datastores).



TRANSACTION_ISOLATION_PROPERTY
final public static String TRANSACTION_ISOLATION_PROPERTY(Code)
Property defining the transaction isolation mode to use.



USE_UPDATE_LOCK_PROPERTY
final public static String USE_UPDATE_LOCK_PROPERTY(Code)
Property defining whether to use "SELECT ... FOR UPDATE" to fetch objects when using READ COMMITTED or lower (RDBMS datastores).



VALIDATE_COLUMNS_PROPERTY
final public static String VALIDATE_COLUMNS_PROPERTY(Code)
Property for whether to validate the columns upon loading.



VALIDATE_CONSTRAINTS_PROPERTY
final public static String VALIDATE_CONSTRAINTS_PROPERTY(Code)
Property for whether the validate the constraints upon loading



VALIDATE_TABLES_PROPERTY
final public static String VALIDATE_TABLES_PROPERTY(Code)
Property for whether to validate the tables upon loading.



configurable
protected transient boolean configurable(Code)




Constructor Detail
PersistenceConfiguration
public PersistenceConfiguration()(Code)
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) persistence factory.




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



equals
public synchronized boolean equals(Object obj)(Code)
Equality operator.
Parameters:
  obj - Object to compare against. Whether the objects are equal.



getAttachSameDatastore
public boolean getAttachSameDatastore()(Code)
Accessor for whether we can assume that when attaching any detached objects are detached from the same datastore. Whether we assume same datastore



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



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



getAutoCreateSchema
public boolean getAutoCreateSchema()(Code)
Get the default AutoCreateSchema setting for all PersistenceManager instances obtained from this factory. the default AutoCreateSchema setting.



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



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



getAutoStartClassNames
public String getAutoStartClassNames()(Code)
Accessor for the names of the classes to be loaded at startup. Names of classes to load
since:
   1.1



getAutoStartMechanism
public String getAutoStartMechanism()(Code)
Accessor for the Auto-Start Mechanism for management of which classes are supported in this data store. the Auto-Start Mechanism setting.



getAutoStartMechanismMode
public String getAutoStartMechanismMode()(Code)
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). the Auto-Start Mechanism Mode setting.



getAutoStartMechanismXmlFile
public String getAutoStartMechanismXmlFile()(Code)
Accessor for the name of the XML file to use when using the XML AutoStarter The XML file name



getCacheCollections
public boolean getCacheCollections()(Code)
Accessor for whether to cache collections. whether to cache collections.



getCacheCollectionsLazy
public Boolean getCacheCollectionsLazy()(Code)
Accessor for whether to lazy load any cached collections. whether to lazy load any cache collections.



getCacheLevel1Type
public String getCacheLevel1Type()(Code)
Accessor for the Level 1 Cache Type the Level 1 Cache Type
since:
   1.1



getCacheLevel2
public boolean getCacheLevel2()(Code)
Accessor for whether to use a level 2 Cache. whether to use a level 2 Cache.
since:
   1.1



getCacheLevel2CacheName
public String getCacheLevel2CacheName()(Code)
Accessor for the Level 2 Cache Name the Level 2 Cache Name
since:
   1.1



getCacheLevel2ConfigurationFile
public String getCacheLevel2ConfigurationFile()(Code)
Accessor for the JDO Level 2 Configuration File the JDO Level 2 Configuration File
since:
   1.1



getCacheLevel2Type
public String getCacheLevel2Type()(Code)
Accessor for the Level 2 Cache Type the Level 2 Cache Type
since:
   1.1



getCalendarForDateTimezone
public Calendar getCalendarForDateTimezone()(Code)
Accessor for the Calendar to be used in handling all timezone issues with the datastore. Utilises the "serverTimeZoneID" in providing this Calendar used in time/date conversions. The calendar to use for dateTimezone issues.



getCatalog
public String getCatalog()(Code)
Accessor for the catalog to use for this persistence factory. the name of the catalog
since:
   1.1



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



getClassLoaderResolverName
public String getClassLoaderResolverName()(Code)
Accessor for the name of the class loader resolver. Name of the class loader resolver to use.



getConnection2ResourceType
public String getConnection2ResourceType()(Code)
Get the Connection2 ResourceType The Connection2 ResourceType



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



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



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



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



getConnectionFactoryName
public String getConnectionFactoryName()(Code)
Get the name for the data store connection factory. the name of the data store connection factory.



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



getConnectionPoolingConfigurationFile
public String getConnectionPoolingConfigurationFile()(Code)
Get the connection pooling configuration file. the connection pooling configuration file to be used.
since:
   1.1



getConnectionPoolingType
public String getConnectionPoolingType()(Code)
Get the connection pooling type. the connection pooling type to be used.
since:
   1.1



getConnectionProviderFailOnError
public boolean getConnectionProviderFailOnError()(Code)
Get the connection provider failOnError. the connection provider failOnError.



getConnectionProviderName
public String getConnectionProviderName()(Code)
Get the connection provider name. the connection provider name.



getConnectionResourceType
public String getConnectionResourceType()(Code)
Get the Connection ResourceType The Connection ResourceType



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



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



getCopyOnAttach
public boolean getCopyOnAttach()(Code)
Accessor for the CopyOnAttach setting. the CopyOnAttach setting.
since:
   1.2



getDatastoreAdapterClassName
public String getDatastoreAdapterClassName()(Code)
Accessor for the datastore adapter class name (null implies autodetect) the datastore adapter class name to use.
since:
   1.1



getDatastoreClassAdditionMaxRetries
public int getDatastoreClassAdditionMaxRetries()(Code)
Accessor for the maximum number of retries for adding a class to the store manager. The max number of retries
since:
   1.1



getDatastoreIdentityClassName
public String getDatastoreIdentityClassName()(Code)
Accessor for the name of datastore identity class Name of the datastore identity class



getDatastoreTransactionFlushLimit
public int getDatastoreTransactionFlushLimit()(Code)
Accessor for the limit on number of dirty objects before a flush happens with datastore transactions. Number of dirty objects before a flush happens with datastore transactions



getDatastoreTransactionsDelayOperations
public boolean getDatastoreTransactionsDelayOperations()(Code)
Whether with datastore transactions we delay operations until commit. Whether we should delay all datastore ops til commit with datastore txns



getDb4oFlushFileBuffers
public boolean getDb4oFlushFileBuffers()(Code)
Accessor for whether to flush DB4O file buffers on commit. Whether to flush file buffers



getDb4oGenerateUUIDs
public boolean getDb4oGenerateUUIDs()(Code)
Accessor for whether to generate UUIDs. Whether to generate UUIDs



getDb4oOutputFile
public String getDb4oOutputFile()(Code)
Get the name of the DB4O Output File DB4O Output File



getDefaultInheritanceStrategy
public String getDefaultInheritanceStrategy()(Code)
Accessor for the default inheritance strategy to use. the default inheritance strategy
since:
   1.1



getDeletionPolicy
public String getDeletionPolicy()(Code)
Accessor for the deletion policy. the deletion policy
since:
   1.1



getDetachAllOnCommit
public boolean getDetachAllOnCommit()(Code)
Accessor for the DetachAllOnCommit setting. the DetachAllOnCommit setting.
since:
   1.1



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



getDiscriminatorPerSubclassTable
public boolean getDiscriminatorPerSubclassTable()(Code)
Accessor for whether to have a discriminator column on all subclass tables. This is for backwards compatibility only and will be removed later. TODO Remove this when people have changed over Whether to persist an empty string as null



getFindObjectCheckInheritance
public boolean getFindObjectCheckInheritance()(Code)
Accessor for whether we should check the inheritance on find object by id. Whether we check the inheritance



getFixedDatastore
public boolean getFixedDatastore()(Code)
Accessor for whether the datastore is read-only (no structural changes allowed). the fixed setting.



getIdentifierCase
public String getIdentifierCase()(Code)
Accessor for the identifier case the identifier case



getIdentifierFactory
public String getIdentifierFactory()(Code)
Accessor for the identifier factory the identifier factory



getIdentifierTablePrefix
public String getIdentifierTablePrefix()(Code)
Accessor for the identifier table prefix the identifier table prefix



getIdentifierTableSuffix
public String getIdentifierTableSuffix()(Code)
Accessor for the identifier table suffix the identifier table suffix



getIdentifierWordSeparator
public String getIdentifierWordSeparator()(Code)
Accessor for the identifier word separator the identifier word separator



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



getImplementationCreatorName
public String getImplementationCreatorName()(Code)
Accessor for the name of the implementation creator. Name of the implementation creator to use.



getInitializeColumnInfo
public String getInitializeColumnInfo()(Code)
Get the default InitializeColumnInfo setting for all PersistenceManager instances obtained from this factory. the default InitializeColumnInfo setting.



getJdoMetaDataFileExtension
public String getJdoMetaDataFileExtension()(Code)
Accessor for the JDO MetaData file extension. Returns the JDO metadata File Extension.



getJdoqueryMetaDataFileExtension
public String getJdoqueryMetaDataFileExtension()(Code)
Accessor for the JDO Query MetaData file extension. Returns the JDO Query metadata File Extension.



getJpaOneToManyUniFkRelations
public boolean getJpaOneToManyUniFkRelations()(Code)
Accessor for whether to allow 1-N uni FK relations Whether to allow 1-N uni FK relations



getJtaJndiLocation
public String getJtaJndiLocation()(Code)
Accessor for the JNDI location to use (if any) to get the JTA txn manager. the JNDI location to find the JTA transaction manager.



getJtaLocator
public String getJtaLocator()(Code)
Accessor for the JTA locator to use (if any). the alias for the JTA locator



getManageRelationships
public boolean getManageRelationships()(Code)
Accessor for whether to manage (bidirectional) relationships at flush/commit. Whether to manage bidir relationships



getManageRelationshipsChecks
public boolean getManageRelationshipsChecks()(Code)
Accessor for whether to check manage (bidirectional) relationships at flush/commit. Whether to check manage bidir relationships



getManagedRuntime
public Boolean getManagedRuntime()(Code)
Accessor for whether to provide a managed runtime (MBeans). whether to provide a managed runtime



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



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



getMessagesIncludeCodes
public Boolean getMessagesIncludeCodes()(Code)
Method to return whether we include codes in any output messages. Whether to includes codes in messages



getMetaDataAnnotationsManager
public String getMetaDataAnnotationsManager()(Code)
Accessor for the class name of the annotations manager. Class name for the annotations manager



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



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



getName
public String getName()(Code)
Accessor for the name of the persistence factory (if any). the name of the persistence factory



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



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



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



getOptions
public Map getOptions()(Code)
Accessor for the options for this persistence configuration the options for this persistence configuration



getOracleNlsSortOrder
public String getOracleNlsSortOrder()(Code)
Accessor for the NLS sort order for Oracle. The NLS sort order for Oracle.



getOrmMetaDataFileExtension
public String getOrmMetaDataFileExtension()(Code)
Accessor for the ORM MetaData file extension. Returns the ORM metadata File Extension.



getPersistEmptyStringAsNull
public boolean getPersistEmptyStringAsNull()(Code)
Accessor for whether to persist an empty string as null in the datastore (RDBMS). Whether to persist an empty string as null



getPersistenceApiName
public String getPersistenceApiName()(Code)
Accessor for the persistence API being used the persistence API being used



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



getPersistenceUnitName
public String getPersistenceUnitName()(Code)
Accessor for the name of the persistence unit the name of the persistence unit



getPluginRegistryBundleCheck
public String getPluginRegistryBundleCheck()(Code)
Mutator for what check the plugin registry should make on duplicate bundles. Typically only applies to the non-managed registry. What check the registry should perform on duplicate bundles



getPluginRegistryClassName
public String getPluginRegistryClassName()(Code)
Mutator for the PluginRegistry class name. If one is provided, it will be used as registry for plug-ins the fully qualified class PluginRegistry



getPoidTransactionAttribute
public String getPoidTransactionAttribute()(Code)
Whether to use the PM connection or open a new connection Returns the poidTransactionAttribute.



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



getPrimaryClassLoader
public ClassLoader getPrimaryClassLoader()(Code)
Accessor for the primary class loader. the primary class loader resolver.



getQueryContainsUsesExistsAlways
public boolean getQueryContainsUsesExistsAlways()(Code)
Accessor for whether to always use EXISTS with contains(). Whether to always use EXISTS with contains()
since:
   1.2



getQueryExistsIncludesConstraints
public boolean getQueryExistsIncludesConstraints()(Code)
Accessor for whether to apply constraints to exists inner expression. Whether to apply constraints to exists inner expression
since:
   1.2



getQueryFetchDirection
public String getQueryFetchDirection()(Code)
Accessor for the fetch direction to use for ResultSet's. The fetch direction.
since:
   1.1



getQueryFlushBeforeExecution
public boolean getQueryFlushBeforeExecution()(Code)
Accessor for whether to flush before executing queries. Whether to flush before execution
since:
   1.2



getQueryJoinType
public String getQueryJoinType()(Code)
Accessor for join type to use with queries. Join type for queries
since:
   1.2



getQueryResultSetConcurrency
public String getQueryResultSetConcurrency()(Code)
Accessor for the concurrency of ResultSet The ResultSet concurrency.
since:
   1.1



getQueryResultSetType
public String getQueryResultSetType()(Code)
Accessor for the type of ResultSet The ResultSet type.
since:
   1.1



getQueryTimeout
public int getQueryTimeout()(Code)
Accessor for the timeout for queries. The timeout
since:
   1.1



getQueryUseFetchPlan
public boolean getQueryUseFetchPlan()(Code)
Accessor for whether to use the FetchPlan in queries. Whether to use the FetchPlan in queries
since:
   1.1



getRDBMSConstraintCreateMode
public String getRDBMSConstraintCreateMode()(Code)
Accessor for the RDBMS constraint creation mode. the RDBMS constraint creation mode
since:
   1.2



getReadOnlyDatastore
public boolean getReadOnlyDatastore()(Code)
Accessor for whether the datastore is read-only (no structural or content changes allowed). the readOnly setting.



getReadOnlyDatastoreAction
public String getReadOnlyDatastoreAction()(Code)
Accessor for the action when we have a read-only datastore and an update is attempted. the readOnly action setting.



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



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



getSchema
public String getSchema()(Code)
Accessor for the schema to use for this persistence factory. the name of the schema
since:
   1.1



getServerTimeZoneID
public String getServerTimeZoneID()(Code)
Accessor for the timezone "id" of the datastore server (if any). If not set assumes the same as the JVM JPOX is running in. Server timezone id



getStatementBatchLimit
public int getStatementBatchLimit()(Code)
Accessor for the limit on number of SQL statements that can be batched in one go. Max number of statements to batch



getStoreManagerType
public String getStoreManagerType()(Code)
Accessor for the StoreManager type to use. the StoreManager type



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



getStringLengthExceededAction
public String getStringLengthExceededAction()(Code)
Accessor for the action when persisting a string that exceeds the datastore column length. Action when persisting String longer than the datastore can handle



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



getTransactionType
public String getTransactionType()(Code)
Accessor for the transaction type to use with this persistence factory. transaction type



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



getUseUpdateLock
public boolean getUseUpdateLock()(Code)
Get the use update lock flag for fetches. the default useUpdateLock setting.



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



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



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



initPropertySetters
protected Map initPropertySetters()(Code)
Initialize the PROPERTY_SETTERS Map. The PROPERTY_SETTERS Map.



isJcaMode
public boolean isJcaMode()(Code)
Accessor for the JCA mode. true if using JCA connector.



isQueryAllowAllSQLStatements
public boolean isQueryAllowAllSQLStatements()(Code)
Whether to allow running any SQL statement in SQL queries. true if allowed to execute any SQL stament in SQL queries
since:
   1.1



setAttachSameDatastore
public synchronized void setAttachSameDatastore(boolean flag)(Code)
Mutator for whether when attaching we can assume that any detached objects are from this same datastore.
Parameters:
  flag - Whether to assume the same datastore



setAutoCreateColumns
public synchronized void setAutoCreateColumns(boolean flag)(Code)
Set the default AutoCreateColumns setting for all PersistenceManager instances obtained from this factory.
Parameters:
  flag - the default AutoCreateColumns setting.
since:
   1.1



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



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



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



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



setAutoStartClassNames
public synchronized void setAutoStartClassNames(String classNames)(Code)
Mutator for the names of classes to load at startup.
Parameters:
  classNames - Name of the classes to load.
since:
   1.1



setAutoStartMechanism
public synchronized void setAutoStartMechanism(String mechanism)(Code)
Set the AutoStartMechanism setting to this persistence factory.
Parameters:
  mechanism - The autostart mechanism plugin name



setAutoStartMechanismMode
public synchronized void setAutoStartMechanismMode(String mode)(Code)
Set the default AutoStartMechanismMode setting for all PersistenceManager instances obtained from this factory.
Parameters:
  mode - Checked = raise exceptions on errorsIgnored = proceed without correctionsQuiet = correct errors and proceed (default)



setAutoStartMechanismXmlFile
public synchronized void setAutoStartMechanismXmlFile(String xmlFile)(Code)
Mutator for the XML filename when using the XML AutoStarter.
Parameters:
  xmlFile - Name of the XML file



setCacheCollections
public synchronized void setCacheCollections(boolean cache)(Code)
Set whether to cache collections for this persistence factory.
Parameters:
  cache - Whether to cache collections.



setCacheCollectionsLazy
public synchronized void setCacheCollectionsLazy(Boolean lazy)(Code)
Set whether to lazy load any cached collections for this persistence factory.
Parameters:
  lazy - Whether to lazy load any cache collections.



setCacheLevel1Type
public synchronized void setCacheLevel1Type(String type)(Code)
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



setCacheLevel2
public synchronized void setCacheLevel2(boolean cache)(Code)
Set whether to use a Level 2 Cache for this persistence factory.
Parameters:
  cache - Whether to use a level 2 Cache
since:
   1.1



setCacheLevel2CacheName
public synchronized void setCacheLevel2CacheName(String name)(Code)
Set the default Level 2 Cache Name for all PersistenceManager instances obtained from this factory.
Parameters:
  name - Name of the cache
since:
   1.1



setCacheLevel2ConfigurationFile
public synchronized void setCacheLevel2ConfigurationFile(String confFile)(Code)
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



setCacheLevel2Type
public synchronized void setCacheLevel2Type(String type)(Code)
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



setCatalog
public synchronized void setCatalog(String catalog)(Code)
Mutator for the catalog to use for this persistence factory.
Parameters:
  catalog - Name of the catalog
since:
   1.1



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



setClassLoaderResolverName
public synchronized void setClassLoaderResolverName(String clrName)(Code)
Mutator for the class loader resolver name to use.
Parameters:
  clrName - Class Loader resolver name to use



setConnection2ResourceType
public synchronized void setConnection2ResourceType(String resourceType)(Code)
Set the Connection2 ResourceType
Parameters:
  resourceType - The Connection2 ResourceType



setConnectionDriverName
public synchronized void setConnectionDriverName(String driverName)(Code)
Set the driver name for the data store connection.
Parameters:
  driverName - the driver name for the data store connection.



setConnectionFactory
public synchronized void setConnectionFactory(Object connectionFactory)(Code)
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.



setConnectionFactory2
public synchronized void setConnectionFactory2(Object connectionFactory)(Code)
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.



setConnectionFactory2Name
public synchronized void setConnectionFactory2Name(String connectionFactoryName)(Code)
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.



setConnectionFactoryName
public synchronized void setConnectionFactoryName(String connectionFactoryName)(Code)
Set the name for the data store connection factory.
Parameters:
  connectionFactoryName - name of the data store connection factory.



setConnectionPassword
public synchronized void setConnectionPassword(String password)(Code)
Set the password for the data store connection.
Parameters:
  password - the password for the data store connection.



setConnectionPoolingConfigurationFile
public synchronized void setConnectionPoolingConfigurationFile(String file)(Code)
Set the connection pooling configuration file to use.
Parameters:
  file - The connection pooling configuration file
since:
   1.1



setConnectionPoolingType
public synchronized void setConnectionPoolingType(String type)(Code)
Set the connection pooling type.
Parameters:
  type - The connection pooling type
since:
   1.1



setConnectionProviderFailOnError
public synchronized void setConnectionProviderFailOnError(boolean flag)(Code)
Set the connection provider failOnError.
Parameters:
  flag - the connection provider failOnError.



setConnectionProviderName
public synchronized void setConnectionProviderName(String name)(Code)
Set the connection provider name.
Parameters:
  name - the connection provider name.



setConnectionResourceType
public synchronized void setConnectionResourceType(String resourceType)(Code)
Set the Connection ResourceType
Parameters:
  resourceType - The Connection ResourceType



setConnectionURL
public synchronized void setConnectionURL(String url)(Code)
Set the URL for the data store connection.
Parameters:
  url - the URL for the data store connection.



setConnectionUserName
public synchronized void setConnectionUserName(String userName)(Code)
Set the user name for the data store connection.
Parameters:
  userName - the user name for the data store connection.



setCopyOnAttach
public synchronized void setCopyOnAttach(boolean flag)(Code)
Mutator for the CopyOnAttach setting.
Parameters:
  flag - the default CopyOnAttach setting.
since:
   1.2



setDatastoreAdapterClassName
public synchronized void setDatastoreAdapterClassName(String adapterClassName)(Code)
Set the name of the datastore adapter to use.
Parameters:
  adapterClassName - Name of the class of the datastore adapter to use.
since:
   1.1



setDatastoreClassAdditionMaxRetries
public void setDatastoreClassAdditionMaxRetries(int max)(Code)
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



setDatastoreIdentityClassName
public synchronized void setDatastoreIdentityClassName(String name)(Code)
Mutator for the name to use for datastore-identity
Parameters:
  name - Datastore-identity class name



setDatastoreTransactionFlushLimit
protected synchronized void setDatastoreTransactionFlushLimit(int limit)(Code)
Mutator for the limit of number of dirty objects before a flush happens with datastore transactions.
Parameters:
  limit - Limit on number of dirty objects before a flush happens with datastore txns



setDatastoreTransactionsDelayOperations
public synchronized void setDatastoreTransactionsDelayOperations(boolean flag)(Code)
Whether with datastore transactions we delay operations until commit.
Parameters:
  flag - Whether we should delay all datastore ops til commit with datastore txns



setDb4oFlushFileBuffers
public synchronized void setDb4oFlushFileBuffers(boolean flush)(Code)
Set whether to flush DB4O file buffers at commit
Parameters:
  flush - Whether to flush file buffers at commit with DB4O



setDb4oGenerateUUIDs
public synchronized void setDb4oGenerateUUIDs(boolean gen)(Code)
Set whether to generate UUIDs.
Parameters:
  gen - Whether to generate UUIDs



setDb4oOutputFile
public synchronized void setDb4oOutputFile(String file)(Code)
Set the DB4O Output File name.
Parameters:
  file - name of the DB4O Output file



setDefaultInheritanceStrategy
public synchronized void setDefaultInheritanceStrategy(String strategy)(Code)
Mutator for the default inheritance strategy.
Parameters:
  strategy - the default inheritance strategy
since:
   1.1



setDeletionPolicy
public synchronized void setDeletionPolicy(String policy)(Code)
Mutator for the deletion policy
Parameters:
  policy - the FK create mode
since:
   1.1



setDetachAllOnCommit
public synchronized void setDetachAllOnCommit(boolean flag)(Code)
Mutator for the DetachAllOnCommit setting.
Parameters:
  flag - the default DetachAllOnCommit setting.
since:
   1.1



setDetachOnClose
public synchronized void setDetachOnClose(boolean flag)(Code)
Set the default DetachOnClose setting for all PersistenceManager instances obtained from this factory.
Parameters:
  flag - the default DetachOnClose setting.
since:
   1.1



setDiscriminatorPerSubclassTable
public void setDiscriminatorPerSubclassTable(boolean flag)(Code)
Mutator for whether to have a discriminator column added to all subclass tables. This is for backwards compatibility only and will be removed later. TODO Remove this when people have changed over
Parameters:
  flag - whether to have discrim per subclass table



setFindObjectCheckInheritance
public synchronized void setFindObjectCheckInheritance(boolean flag)(Code)
Mutator for whether we should check inheritance when finding an object by its id.
Parameters:
  flag - Whether to check the inheritance



setFixedDatastore
public synchronized void setFixedDatastore(boolean flag)(Code)
Set whether this datastore schema is fixed
Parameters:
  flag - the fixed setting.



setIdentifierCase
public synchronized void setIdentifierCase(String idCase)(Code)
Mutator for the identifier case
Parameters:
  idCase - the identifier case



setIdentifierFactory
public synchronized void setIdentifierFactory(String factory)(Code)
Mutator for the identifier factory
Parameters:
  factory - the identifier factory



setIdentifierTablePrefix
public synchronized void setIdentifierTablePrefix(String prefix)(Code)
Mutator for the identifier table prefix
Parameters:
  prefix - the identifier table prefix



setIdentifierTableSuffix
public synchronized void setIdentifierTableSuffix(String suffix)(Code)
Mutator for the identifier table suffix
Parameters:
  suffix - the identifier table suffix



setIdentifierWordSeparator
public synchronized void setIdentifierWordSeparator(String word)(Code)
Mutator for the identifier word separator
Parameters:
  word - the identifier word separator



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



setImplementationCreatorName
public synchronized void setImplementationCreatorName(String implCreatorName)(Code)
Mutator for the implementation creator name to use.
Parameters:
  implCreatorName - Name of implementation creator to use



setInitializeColumnInfo
public synchronized void setInitializeColumnInfo(String flag)(Code)
Set the default InitializeColumnInfo setting for all PersistenceManager instances obtained from this factory. Takes values of "ALL", "NONE" or "PK" for which columns to initialise.
Parameters:
  flag - the default InitializePrimaryKeyColumnInfo setting.



setJCAMode
public synchronized void setJCAMode(Boolean jca)(Code)
Mutator for the JCA mode.
Parameters:
  jca - true if using JCA connector



setJdoMetaDataFileExtension
public void setJdoMetaDataFileExtension(String metadataFileExtension)(Code)
Mutator for the JDO MetaData file extension.
Parameters:
  metadataFileExtension - The JDO metadata File Extension to set.



setJdoqueryMetaDataFileExtension
public void setJdoqueryMetaDataFileExtension(String metadataFileExtension)(Code)
Mutator for the JDO Query MetaData file extension.
Parameters:
  metadataFileExtension - The JDO Query metadata File Extension to set.



setJpaOneToManyUniFkRelations
public synchronized void setJpaOneToManyUniFkRelations(boolean flag)(Code)
Mutator for whether to allow 1-N unidir FK relations when using JPA.
Parameters:
  flag - Whether to support 1-N uni FK relations



setJtaJndiLocation
protected synchronized void setJtaJndiLocation(String jndi)(Code)
Mutator for the JNDI location to use (if any) to get the JTA txn manager.
Parameters:
  jndi - JNDI location to find the JTA txn manager



setJtaLocator
protected synchronized void setJtaLocator(String locator)(Code)
Mutator for the JTA Locator to use when using JTA transactions.
Parameters:
  locator - Name of the locator. Should correspond to a locator plugin alias



setManageRelationships
public synchronized void setManageRelationships(boolean flag)(Code)
Mutator for whether to manage (bidirectional) relationships at flush/commit.
Parameters:
  flag - Whether to manage relationships



setManageRelationshipsChecks
public synchronized void setManageRelationshipsChecks(boolean flag)(Code)
Mutator for whether to check manage (bidirectional) relationships at flush/commit.
Parameters:
  flag - Whether to check manage relationships



setManagedRuntime
public synchronized void setManagedRuntime(Boolean managed)(Code)
Mutator for whether to provide a managed runtime.
Parameters:
  managed - Whether to provide a managed runtime



setMapping
public synchronized void setMapping(String mapping)(Code)
Set the name for any mapping, used in searching for ORM/Query metadata files.
Parameters:
  mapping - the mapping name



setMaxFetchDepth
public synchronized void setMaxFetchDepth(int value)(Code)
Mutator for the default max fetch depth
Parameters:
  value - Max fetch depth to use



setMessagesIncludeCodes
public void setMessagesIncludeCodes(Boolean include)(Code)
Mutator for whether to includes codes in messages.
Parameters:
  include - Whether to include codes in messages



setMetaDataAnnotationsManager
public void setMetaDataAnnotationsManager(String mgr)(Code)
Mutator for the metadata annotations manager
Parameters:
  mgr - Name of the annotations manager



setMetaDataValidate
public void setMetaDataValidate(boolean validate)(Code)
Mutator for whether to validate the metadata
Parameters:
  validate - Whether to validate the metadata



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



setName
public synchronized void setName(String name)(Code)
Mutator for the name of the persistence factory.
Parameters:
  name - Name of the persistence factory (if any)



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



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



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



setOptions
protected void setOptions(Properties props)(Code)
Set the options for this PersistenceManagerFactory based on the given Properties.
Parameters:
  props - The Properties to set the options from.



setOptions
protected void setOptions(Map props)(Code)
Set the options for this PersistenceManagerFactory based on the given map of properties.
Parameters:
  props - The Properties to set the options from.



setOracleNlsSortOrder
public void setOracleNlsSortOrder(String order)(Code)
Set the NLS sort order for oracle.
Parameters:
  order - NLS sort order for oracle.



setOrmMetaDataFileExtension
public void setOrmMetaDataFileExtension(String metadataFileExtension)(Code)
Mutator for the ORM MetaData file extension.
Parameters:
  metadataFileExtension - The ORM metadata File Extension to set.



setPersistEmptyStringAsNull
public void setPersistEmptyStringAsNull(boolean flag)(Code)
Mutator for whether to persist an empty string as null in the datastore (RDBMS).
Parameters:
  flag - whether an empty string should be treated as null



setPersistenceApiName
public synchronized void setPersistenceApiName(String name)(Code)
Mutator for the persistence API
Parameters:
  name - Persistence API



setPersistenceByReachabilityAtCommit
public synchronized void setPersistenceByReachabilityAtCommit(boolean flag)(Code)
Mutator for whether to run "persistence-by-reachability" at commit time.
Parameters:
  flag - Whether to run PBR at commit time



setPersistenceUnitName
public synchronized void setPersistenceUnitName(String name)(Code)
Mutator for the name of the persistence unit.
Parameters:
  name - Name of the persistence unit



setPluginRegistryBundleCheck
public void setPluginRegistryBundleCheck(String check)(Code)
Mutator for what check the plugin registry should perform on dup bundles. Can be "EXCEPTION", "LOG", or "NONE".
Parameters:
  check - the check to perform



setPluginRegistryClassName
public void setPluginRegistryClassName(String pluginRegistryClassName)(Code)
Mutator for the PluginRegistry class name. If one is provided, it will be used as registry for plug-ins
Parameters:
  pluginRegistryClassName - the fully qualified class PluginRegistry



setPoidTransactionAttribute
public void setPoidTransactionAttribute(String poidTransactionAttribute)(Code)
Set whether to use the PM connection or open a new connection
Parameters:
  poidTransactionAttribute - The poidTransactionAttribute to set.



setPoidTransactionIsolation
protected synchronized void setPoidTransactionIsolation(String isolationLevelName)(Code)
Set the default transaction isolation level for all PoidGenerator instances.
Parameters:
  isolationLevelName - One of the values "read uncommitted", "read committed", "repeatableread", or "serializable". The name is case-insensitive, and spacesand underscores are equivalent.



setPoidTransactionIsolation
public synchronized void setPoidTransactionIsolation(int isolationLevel)(Code)
Set the default transaction isolation level for all PoidGenerator instances.
Parameters:
  isolationLevel - the default transaction isolation level.



setPrimaryClassLoaderResolver
public synchronized void setPrimaryClassLoaderResolver(ClassLoader clr)(Code)
Mutator for the primary class loader.
Parameters:
  clr - primary Class Loader



setPropertiesFile
public synchronized void setPropertiesFile(String value)(Code)
Accessor for the suffix for table identifiers
Parameters:
  value - the suffix for table identifiers



setQueryAllowAllSQLStatements
public void setQueryAllowAllSQLStatements(boolean allow)(Code)
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



setQueryContainsUsesExistsAlways
public void setQueryContainsUsesExistsAlways(boolean always)(Code)
Set whether to always use EXISTS with any contains().
Parameters:
  always - Whether to always use EXISTS with contains()
since:
   1.2



setQueryExistsIncludesConstraints
public void setQueryExistsIncludesConstraints(boolean includes)(Code)
Set whether to apply constraints to exists inner expression.
Parameters:
  includes - Whether to apply constraints to exists inner expression.
since:
   1.2



setQueryFetchDirection
public void setQueryFetchDirection(String dir)(Code)
Set the fetch direction to use for ResultSet's.
Parameters:
  dir - The fetch direction to use
since:
   1.1



setQueryFlushBeforeExecution
public void setQueryFlushBeforeExecution(boolean flush)(Code)
Set whether to flush before executing queries
Parameters:
  flush - Whether to flush before executing queries
since:
   1.2



setQueryJoinType
public void setQueryJoinType(String type)(Code)
Set the join type to use on queries.
Parameters:
  type - Join type to use on queries
since:
   1.2



setQueryResultSetConcurrency
public void setQueryResultSetConcurrency(String concur)(Code)
Set the concurrency of the ResultSet
Parameters:
  concur - The ResultSet concurrency
since:
   1.1



setQueryResultSetType
public void setQueryResultSetType(String type)(Code)
Set the type of the ResultSet
Parameters:
  type - The ResultSet type
since:
   1.1



setQueryTimeout
public void setQueryTimeout(int timeout)(Code)
Set the timeout for queries
Parameters:
  timeout - The timeout to use
since:
   1.1



setQueryUseFetchPlan
public void setQueryUseFetchPlan(boolean useFetchPlan)(Code)
Set whether to use the FetchPlan in queries
Parameters:
  useFetchPlan - Whether to use the FetchPlan in queries
since:
   1.1



setRDBMSConstraintCreateMode
public synchronized void setRDBMSConstraintCreateMode(String mode)(Code)
Mutator for the RDBMS constraint creation mode
Parameters:
  mode - the RDBMS constraint create mode
since:
   1.2



setReadOnlyDatastore
public synchronized void setReadOnlyDatastore(boolean flag)(Code)
Set whether this datastore is readOnly
Parameters:
  flag - the readOnly setting.



setReadOnlyDatastoreAction
public synchronized void setReadOnlyDatastoreAction(String action)(Code)
Set the action when we have a read-only datastore and an update is attempted.
Parameters:
  action - the readOnly action setting.



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



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



setSchema
public synchronized void setSchema(String schema)(Code)
Mutator for the schema to use for this persistence factory.
Parameters:
  schema - Name of the schema
since:
   1.1



setServerTimeZoneID
public void setServerTimeZoneID(String id)(Code)
Mutator for the timezone id of the datastore server. If not set assumes that it is running in the same timezone as this JVM.
Parameters:
  id - Timezone Id to use



setStatementBatchLimit
public synchronized void setStatementBatchLimit(int limit)(Code)
Set the limit on number of SQL statements that can be batched in one go. This supports values of 0 for no batching and -1 for unlimited batching.
Parameters:
  limit - Max number of statements to batch



setStoreManagerType
public synchronized void setStoreManagerType(String type)(Code)
Mutator for the store manager type.
Parameters:
  type - StoreManager type



setStringDefaultLength
public void setStringDefaultLength(int len)(Code)
Set the default length for strings.
Parameters:
  len - Default length for strings



setStringLengthExceededAction
public void setStringLengthExceededAction(String action)(Code)
Set the action when persisting a string too long for the datastore. Valid values are EXCEPTION and TRUNCATE.
Parameters:
  action - action when persisting a string too long for the datastore.



setTransactionIsolation
protected synchronized void setTransactionIsolation(String isolationLevelName)(Code)
Set the default transaction isolation level for all PersistenceManager instances obtained from this factory.
Parameters:
  isolationLevelName - One of the values "none", "read uncommitted", "read committed", "repeatableread", or "serializable". The name is case-insensitive, and spacesand underscores are equivalent.



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



setTransactionType
public synchronized void setTransactionType(String type)(Code)
Mutator for the transaction type to use for this persistence factory.
Parameters:
  type - Transaction type



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



setUseUpdateLock
public synchronized void setUseUpdateLock(boolean flag)(Code)
Set whether to use the update lock for fetches.
Parameters:
  flag - the useUpdateLock setting.



setValidateColumns
public synchronized void setValidateColumns(boolean flag)(Code)
Set the default ValidateColumns setting for all PersistenceManager instances obtained from this factory.
Parameters:
  flag - the default ValidateColumns setting.
since:
   1.1



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



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



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.