1488 words

javax.jdo.Constants - JDO interface

javax.jdo
Interface Constants

Implementing Classes:
JDOHelper
Constant values used in JDO.
Since:
JDO 2.1
The name of the anonymous PersistenceManagerFactory, which is the empty string.
The name of the anonymous PersistenceManagerFactory, which is the empty string.
Since:
JDO 2.1
The name of the instance lifecycle listener element in the JDO configuration file.
The name of the instance lifecycle listener element in the JDO configuration file.
Since:
JDO 2.1
The name of the persistence manager factory element in the JDO configuration file.
The name of the persistence manager factory element in the JDO configuration file. Constant value is persistence-manager-factory.
Since:
JDO 2.1
The name of the persistence manager factory property elements in the JDO configuration file.
The name of the persistence manager factory property elements in the JDO configuration file.
Since:
JDO 2.1
The name of the instance lifecycle listener element's "classes" attribute.
The name of the instance lifecycle listener element's "classes" attribute.
Since:
JDO 2.1
The name of the instance lifecycle listener element's "listener" attribute.
The name of the instance lifecycle listener element's "listener" attribute.
Since:
JDO 2.1
The name of the resource for the DTD of the standard JDO configuration file.
The name of the resource for the DTD of the standard JDO configuration file.
Since:
JDO 2.1
The name of the standard JDO configuration resource file(s).
The name of the standard JDO configuration resource file(s). Constant value is META-INF/jdoconfig.xml.
Since:
JDO 2.1
The standard JDO configuration schema namespace.
The standard JDO configuration schema namespace. Constant value is http://java.sun.com/xml/ns/jdo/jdoconfig.
Since:
JDO 2.1
The name of the resource for the XML schema of the standard JDO configuration file.
The name of the resource for the XML schema of the standard JDO configuration file.
Since:
JDO 2.1
The name of the resource for the DTD of the standard JDO query metadata file.
The name of the resource for the DTD of the standard JDO query metadata file.
Since:
JDO 2.1
The standard JDO query schema namespace.
The standard JDO query schema namespace. Constant value is http://java.sun.com/xml/ns/jdo/jdoquery.
Since:
JDO 2.1
The name of the resource for the XML schema of the standard JDO query metadata file.
The name of the resource for the XML schema of the standard JDO query metadata file.
Since:
JDO 2.1
The name of the resource for the DTD of the standard JDO metadata file.
The name of the resource for the DTD of the standard JDO metadata file.
Since:
JDO 2.1
String JDO_XSD_NS
The standard JDO metadata schema namespace.
The standard JDO metadata schema namespace. Constant value is http://java.sun.com/xml/ns/jdo/jdo.
Since:
JDO 2.1
The name of the resource for the XML schema of the standard JDO metadata file.
The name of the resource for the XML schema of the standard JDO metadata file.
Since:
JDO 2.1
String JTA
The value for TransactionType to specify that transactions are managed by the Java Transactions API, as documented in JSR-220.
The value for TransactionType to specify that transactions are managed by the Java Transactions API, as documented in JSR-220.
Since:
JDO 2.1
Nonconfigurable property constanct "VendorName"
Nonconfigurable property constanct "VendorName"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getProperties()
Nonconfigurable property constanct "VersionNumber"
Nonconfigurable property constanct "VersionNumber"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getProperties()
"javax.jdo.option.ApplicationIdentity"
"javax.jdo.option.ApplicationIdentity"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.Array"
"javax.jdo.option.Array"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.ArrayList"
"javax.jdo.option.ArrayList"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.BinaryCompatibility"
"javax.jdo.option.BinaryCompatibility"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.ChangeApplicationIdentity"
"javax.jdo.option.ChangeApplicationIdentity"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.DatastoreIdentity"
"javax.jdo.option.DatastoreIdentity"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.GetDataStoreConnection"
"javax.jdo.option.GetDataStoreConnection"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.GetJDBCConnection"
"javax.jdo.option.GetJDBCConnection"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.LinkedList"
"javax.jdo.option.LinkedList"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.mapping.HeterogeneousInterfaceType"
"javax.jdo.option.mapping.HeterogeneousInterfaceType"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.mapping.HeterogeneousObjectType"
"javax.jdo.option.mapping.HeterogeneousObjectType"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.mapping.JoinedTablePerClass"
"javax.jdo.option.mapping.JoinedTablePerClass"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.mapping.JoinedTablePerConcreteClass"
"javax.jdo.option.mapping.JoinedTablePerConcreteClass"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.mapping.NonJoinedTablePerConcreteClass"
"javax.jdo.option.mapping.NonJoinedTablePerConcreteClass"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.mapping.RelationSubclassTable"
"javax.jdo.option.mapping.RelationSubclassTable"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.NonDurableIdentity"
"javax.jdo.option.NonDurableIdentity"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.NontransactionalRead"
"javax.jdo.option.NontransactionalRead"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.NontransactionalWrite"
"javax.jdo.option.NontransactionalWrite"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.NullCollection"
"javax.jdo.option.NullCollection"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.Optimistic"
"javax.jdo.option.Optimistic"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.PreDirtyEvent"
"javax.jdo.option.PreDirtyEvent"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.query.SQL"
"javax.jdo.query.SQL"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.RetainValues"
"javax.jdo.option.RetainValues"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.TransientTransactional"
"javax.jdo.option.TransientTransactional"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.TreeMap"
"javax.jdo.option.TreeMap"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.TreeSet"
"javax.jdo.option.TreeSet"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.UnconstrainedQueryVariables"
"javax.jdo.option.UnconstrainedQueryVariables"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.Vector"
"javax.jdo.option.Vector"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.version.DateTime"
"javax.jdo.option.version.DateTime"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.version.StateImage"
"javax.jdo.option.version.StateImage"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.supportedOptions()
The name of the resource for the DTD of the standard JDO object-relational mapping metadata file.
The name of the resource for the DTD of the standard JDO object-relational mapping metadata file.
Since:
JDO 2.1
String ORM_XSD_NS
The standard JDO object-repository mapping schema namespace.
The standard JDO object-repository mapping schema namespace. Constant value is http://java.sun.com/xml/ns/jdo/orm.
Since:
JDO 2.1
The name of the resource for the XML schema of the standard JDO object-relational mapping metadata file.
The name of the resource for the XML schema of the standard JDO object-relational mapping metadata file.
Since:
JDO 2.1
The name of the persistence manager factory element's "class" attribute.
The name of the persistence manager factory element's "class" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "connection-driver-name" attribute.
The name of the persistence manager factory element's "connection-driver-name" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "connection-factory2-name" attribute.
The name of the persistence manager factory element's "connection-factory2-name" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "connection-factory-name" attribute.
The name of the persistence manager factory element's "connection-factory-name" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "connection-password" attribute.
The name of the persistence manager factory element's "connection-password" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "connection-url" attribute.
The name of the persistence manager factory element's "connection-url" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "connection-user-name" attribute.
The name of the persistence manager factory element's "connection-user-name" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "copy-on-attach" attribute.
The name of the persistence manager factory element's "copy-on-attach" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "detach-all-on-commit" attribute.
The name of the persistence manager factory element's "detach-all-on-commit" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "ignore-cache" attribute.
The name of the persistence manager factory element's "ignore-cache" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "mapping" attribute.
The name of the persistence manager factory element's "mapping" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "multithreaded" attribute.
The name of the persistence manager factory element's "multithreaded" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "name" attribute.
The name of the persistence manager factory element's "name" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "nontransactional-read" attribute.
The name of the persistence manager factory element's "nontransactional-read" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "nontransactional-write" attribute.
The name of the persistence manager factory element's "nontransactional-write" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "optimistic" attribute.
The name of the persistence manager factory element's "optimistic" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "persistence-unit-name" attribute.
The name of the persistence manager factory element's "persistence-unit-name" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "readonly" attribute.
The name of the persistence manager factory element's "readonly" attribute.
Since:
JDO 2.2
The name of the persistence manager factory element's "restore-values" attribute.
The name of the persistence manager factory element's "restore-values" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "retain-values" attribute.
The name of the persistence manager factory element's "retain-values" attribute.
Since:
JDO 2.1
The name of the persistence manager factory element's "server-time-zone-id" attribute.
The name of the persistence manager factory element's "server-time-zone-id" attribute.
Since:
JDO 2.1
The name of the persistence manager factory property element's "name" attribute.
The name of the persistence manager factory property element's "name" attribute.
Since:
JDO 2.1
The name of the persistence manager factory property element's "value" attribute.
The name of the persistence manager factory property element's "value" attribute.
Since:
JDO 2.1
"javax.jdo.option.ConnectionDriverName"
"javax.jdo.option.ConnectionDriverName"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getConnectionDriverName()
"javax.jdo.option.ConnectionFactory2Name"
"javax.jdo.option.ConnectionFactory2Name"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getConnectionFactory2Name()
"javax.jdo.option.ConnectionFactoryName"
"javax.jdo.option.ConnectionFactoryName"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getConnectionFactoryName()
"javax.jdo.option.Password"
"javax.jdo.option.Password"
Since:
JDO 2.1
"javax.jdo.option.ConnectionURL"
"javax.jdo.option.ConnectionURL"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getConnectionURL()
"javax.jdo.option.ConnectionUserName"
"javax.jdo.option.ConnectionUserName"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getConnectionUserName()
"javax.jdo.option.CopyOnAttach"
"javax.jdo.option.CopyOnAttach"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getCopyOnAttach()
"javax.jdo.option.DetachAllOnCommit"
"javax.jdo.option.DetachAllOnCommit"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getDetachAllOnCommit()
"javax.jdo.option.IgnoreCache"
"javax.jdo.option.IgnoreCache"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getIgnoreCache()
"javax.jdo.option.Mapping"
"javax.jdo.option.Mapping"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getMapping()
Mapping "javax.jdo.mapping.Catalog"
Mapping "javax.jdo.mapping.Catalog"
Since:
JDO 2.1
Mapping "javax.jdo.mapping.Schema"
Mapping "javax.jdo.mapping.Schema"
Since:
JDO 2.1
"javax.jdo.option.Multithreaded"
"javax.jdo.option.Multithreaded"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getMultithreaded()
"javax.jdo.option.Name"
"javax.jdo.option.Name"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getName()
"javax.jdo.option.NontransactionalRead"
"javax.jdo.option.NontransactionalRead"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getNontransactionalRead()
"javax.jdo.option.NontransactionalWrite"
"javax.jdo.option.NontransactionalWrite"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getNontransactionalWrite()
"javax.jdo.option.Optimistic"
"javax.jdo.option.Optimistic"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getOptimistic()
"javax.jdo.PersistenceManagerFactoryClass"
"javax.jdo.PersistenceManagerFactoryClass"
Since:
JDO 2.1
See Also:
JDOHelper.getPersistenceManagerFactory(java.util.Map)
"javax.jdo.option.PersistenceUnitName"
"javax.jdo.option.PersistenceUnitName"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getPersistenceUnitName()
Prefix used to configure javax.jdo.listener.InstanceLifecycleListener instances externally.
Prefix used to configure javax.jdo.listener.InstanceLifecycleListener instances externally. To configure an InstanceLifecycleListener via properties, create a property name with the prefix of this constant and append the fully qualified listener class name, then set its value to the comma- or whitespace-delimited list of persistence-capable classes whose instances are to be observed. Use no value to indicate that instances of all persistence-capable classes are to be observed.
For example,
javax.jdo.option.InstanceLifecycleListener.com.example.MyListener=com.example.Foo,com.example.Bar
is equivalent to calling
pmf.addInstanceLifecycleListener(new com.example.MyListener(), new Class[] {com.example.Foo.class, com.example.Bar.class});
where pmf is an instance of type PersistenceManagerFactory.
Since:
JDO 2.1
See Also:
javax.jdo.PersistenceManagerFactory.addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener,Class[])
"javax.jdo.option.ReadOnly"
"javax.jdo.option.ReadOnly"
Since:
JDO 2.2
See Also:
PersistenceManagerFactory.getReadOnly()
"javax.jdo.option.RestoreValues"
"javax.jdo.option.RestoreValues"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getRestoreValues()
"javax.jdo.option.RetainValues"
"javax.jdo.option.RetainValues"
Since:
JDO 2.1
See Also:
PersistenceManagerFactory.getRetainValues()
Mapping "javax.jdo.option.ServerTimeZoneID"
Mapping "javax.jdo.option.ServerTimeZoneID"
Since:
JDO 2.1
"javax.jdo.option.spi.ResourceName"
"javax.jdo.option.spi.ResourceName"
Since:
JDO 2.1
"javax.jdo.option.TransactionIsolationLevel"
"javax.jdo.option.TransactionIsolationLevel"
Since:
JDO 2.2
"javax.jdo.option.TransactionIsolationLevel.read-committed"
"javax.jdo.option.TransactionIsolationLevel.read-committed"
Since:
JDO 2.2
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.TransactionIsolationLevel.read-uncommitted"
"javax.jdo.option.TransactionIsolationLevel.read-uncommitted"
Since:
JDO 2.2
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.TransactionIsolationLevel.repeatable-read"
"javax.jdo.option.TransactionIsolationLevel.repeatable-read"
Since:
JDO 2.2
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.TransactionIsolationLevel.serializable"
"javax.jdo.option.TransactionIsolationLevel.serializable"
Since:
JDO 2.2
See Also:
PersistenceManagerFactory.supportedOptions()
"javax.jdo.option.TransactionIsolationLevel.snapshot"
"javax.jdo.option.TransactionIsolationLevel.snapshot"
Since:
JDO 2.2
See Also:
PersistenceManagerFactory.supportedOptions()
The value for TransactionType to specify that transactions are managed by the javax.jdo.Transaction instance, similar to the usage as documented in JSR-220.
The value for TransactionType to specify that transactions are managed by the javax.jdo.Transaction instance, similar to the usage as documented in JSR-220.
Since:
JDO 2.1
The name of the standard service configuration resource text file containing the name of an implementation of PersistenceManagerFactory.
The name of the standard service configuration resource text file containing the name of an implementation of PersistenceManagerFactory. Constant value is META-INF/services/javax.jdo.PersistenceManagerFactory.
Since:
JDO 2.1
Transaction isolation level representing the requirement to read committed data only.
Transaction isolation level representing the requirement to read committed data only.
Since:
JDO 2.2
See Also:
PersistenceManagerFactory.getTransactionIsolationLevel()
Transaction.getIsolationLevel()
Transaction isolation level representing the ability to read uncommitted data.
Transaction isolation level representing the ability to read uncommitted data.
Since:
JDO 2.2
See Also:
PersistenceManagerFactory.getTransactionIsolationLevel()
Transaction.getIsolationLevel()
Transaction isolation level representing the requirement to read the same data in the same transaction.
Transaction isolation level representing the requirement to read the same data in the same transaction.
Since:
JDO 2.2
See Also:
PersistenceManagerFactory.getTransactionIsolationLevel()
Transaction.getIsolationLevel()
Transaction isolation level representing the requirement to serialize transactions.
Transaction isolation level representing the requirement to serialize transactions.
Since:
JDO 2.2
See Also:
PersistenceManagerFactory.getTransactionIsolationLevel()
Transaction.getIsolationLevel()
Transaction isolation level representing the requirement to keep a snapshot for reading data.
Transaction isolation level representing the requirement to keep a snapshot for reading data.
Since:
JDO 2.2
See Also:
PersistenceManagerFactory.getTransactionIsolationLevel()
Transaction.getIsolationLevel()

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.