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.
- Since:
- JDO 2.1
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. Constant value is
persistence-manager-factory
. - Since:
- JDO 2.1
String ELEMENT_PROPERTY
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.
- Since:
- JDO 2.1
The name of the instance lifecycle listener element's "listener" attribute.
- Since:
- JDO 2.1
String JDOCONFIG_DTD_RESOURCE
The name of the resource for the DTD of the standard JDO configuration file.
- Since:
- JDO 2.1
String JDOCONFIG_RESOURCE_NAME
The name of the standard JDO configuration resource file(s). Constant value is
META-INF/jdoconfig.xml
. - Since:
- JDO 2.1
String JDOCONFIG_XSD_NS
The standard JDO configuration schema namespace. Constant value is
http://java.sun.com/xml/ns/jdo/jdoconfig
. - Since:
- JDO 2.1
String JDOCONFIG_XSD_RESOURCE
The name of the resource for the XML schema of the standard JDO configuration file.
- Since:
- JDO 2.1
String JDOQUERY_DTD_RESOURCE
The name of the resource for the DTD of the standard JDO query metadata file.
- Since:
- JDO 2.1
String JDOQUERY_XSD_NS
The standard JDO query schema namespace. Constant value is
http://java.sun.com/xml/ns/jdo/jdoquery
. - Since:
- JDO 2.1
String JDOQUERY_XSD_RESOURCE
The name of the resource for the XML schema of the standard JDO query metadata file.
- Since:
- JDO 2.1
String JDO_DTD_RESOURCE
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. Constant value is
http://java.sun.com/xml/ns/jdo/jdo
. - Since:
- JDO 2.1
String JDO_XSD_RESOURCE
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.
- Since:
- JDO 2.1
Nonconfigurable property constanct "VendorName"
- Since:
- JDO 2.1
Nonconfigurable property constanct "VersionNumber"
- Since:
- JDO 2.1
String OPTION_APPLICATION_IDENTITY
"javax.jdo.option.ApplicationIdentity"
- Since:
- JDO 2.1
String OPTION_ARRAY
"javax.jdo.option.Array"
- Since:
- JDO 2.1
String OPTION_ARRAYLIST
"javax.jdo.option.ArrayList"
- Since:
- JDO 2.1
String OPTION_BINARY_COMPATIBILITY
"javax.jdo.option.BinaryCompatibility"
- Since:
- JDO 2.1
"javax.jdo.option.ChangeApplicationIdentity"
- Since:
- JDO 2.1
String OPTION_DATASTORE_IDENTITY
"javax.jdo.option.DatastoreIdentity"
- Since:
- JDO 2.1
"javax.jdo.option.GetDataStoreConnection"
- Since:
- JDO 2.1
String OPTION_GET_JDBC_CONNECTION
"javax.jdo.option.GetJDBCConnection"
- Since:
- JDO 2.1
String OPTION_LINKEDLIST
"javax.jdo.option.LinkedList"
- Since:
- JDO 2.1
"javax.jdo.option.mapping.HeterogeneousInterfaceType"
- Since:
- JDO 2.1
"javax.jdo.option.mapping.HeterogeneousObjectType"
- Since:
- JDO 2.1
"javax.jdo.option.mapping.JoinedTablePerClass"
- Since:
- JDO 2.1
"javax.jdo.option.mapping.JoinedTablePerConcreteClass"
- Since:
- JDO 2.1
"javax.jdo.option.mapping.NonJoinedTablePerConcreteClass"
- Since:
- JDO 2.1
"javax.jdo.option.mapping.RelationSubclassTable"
- Since:
- JDO 2.1
String OPTION_NONDURABLE_IDENTITY
"javax.jdo.option.NonDurableIdentity"
- Since:
- JDO 2.1
String OPTION_NONTRANSACTIONAL_READ
"javax.jdo.option.NontransactionalRead"
- Since:
- JDO 2.1
"javax.jdo.option.NontransactionalWrite"
- Since:
- JDO 2.1
String OPTION_NULL_COLLECTION
"javax.jdo.option.NullCollection"
- Since:
- JDO 2.1
String OPTION_OPTIMISTIC
"javax.jdo.option.Optimistic"
- Since:
- JDO 2.1
String OPTION_PREDIRTY_EVENT
"javax.jdo.option.PreDirtyEvent"
- Since:
- JDO 2.1
String OPTION_QUERY_SQL
"javax.jdo.query.SQL"
- Since:
- JDO 2.1
String OPTION_RETAIN_VALUES
"javax.jdo.option.RetainValues"
- Since:
- JDO 2.1
"javax.jdo.option.TransientTransactional"
- Since:
- JDO 2.1
String OPTION_TREEMAP
"javax.jdo.option.TreeMap"
- Since:
- JDO 2.1
String OPTION_TREESET
"javax.jdo.option.TreeSet"
- Since:
- JDO 2.1
"javax.jdo.option.UnconstrainedQueryVariables"
- Since:
- JDO 2.1
String OPTION_VECTOR
"javax.jdo.option.Vector"
- Since:
- JDO 2.1
String OPTION_VERSION_DATETIME
"javax.jdo.option.version.DateTime"
- Since:
- JDO 2.1
String OPTION_VERSION_STATE_IMAGE
"javax.jdo.option.version.StateImage"
- Since:
- JDO 2.1
String ORM_DTD_RESOURCE
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. Constant value is
http://java.sun.com/xml/ns/jdo/orm
. - Since:
- JDO 2.1
String ORM_XSD_RESOURCE
The name of the resource for the XML schema of the standard JDO object-relational mapping metadata file.
- Since:
- JDO 2.1
String PMF_ATTRIBUTE_CLASS
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.
- Since:
- JDO 2.1
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.
- Since:
- JDO 2.1
The name of the persistence manager factory element's "connection-password" attribute.
- Since:
- JDO 2.1
String PMF_ATTRIBUTE_CONNECTION_URL
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.
- Since:
- JDO 2.1
String PMF_ATTRIBUTE_COPY_ON_ATTACH
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.
- Since:
- JDO 2.1
String PMF_ATTRIBUTE_IGNORE_CACHE
The name of the persistence manager factory element's "ignore-cache" attribute.
- Since:
- JDO 2.1
String PMF_ATTRIBUTE_MAPPING
The name of the persistence manager factory element's "mapping" attribute.
- Since:
- JDO 2.1
String PMF_ATTRIBUTE_MULTITHREADED
The name of the persistence manager factory element's "multithreaded" attribute.
- Since:
- JDO 2.1
String PMF_ATTRIBUTE_NAME
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.
- Since:
- JDO 2.1
The name of the persistence manager factory element's "nontransactional-write" attribute.
- Since:
- JDO 2.1
String PMF_ATTRIBUTE_OPTIMISTIC
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.
- Since:
- JDO 2.1
String PMF_ATTRIBUTE_READONLY
The name of the persistence manager factory element's "readonly" attribute.
- Since:
- JDO 2.2
String PMF_ATTRIBUTE_RESTORE_VALUES
The name of the persistence manager factory element's "restore-values" attribute.
- Since:
- JDO 2.1
String PMF_ATTRIBUTE_RETAIN_VALUES
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.
- Since:
- JDO 2.1
String PROPERTY_ATTRIBUTE_NAME
The name of the persistence manager factory property element's "name" attribute.
- Since:
- JDO 2.1
String PROPERTY_ATTRIBUTE_VALUE
The name of the persistence manager factory property element's "value" attribute.
- Since:
- JDO 2.1
"javax.jdo.option.ConnectionDriverName"
- Since:
- JDO 2.1
"javax.jdo.option.ConnectionFactory2Name"
- Since:
- JDO 2.1
"javax.jdo.option.ConnectionFactoryName"
- Since:
- JDO 2.1
String PROPERTY_CONNECTION_PASSWORD
"javax.jdo.option.Password"
- Since:
- JDO 2.1
String PROPERTY_CONNECTION_URL
"javax.jdo.option.ConnectionURL"
- Since:
- JDO 2.1
"javax.jdo.option.ConnectionUserName"
- Since:
- JDO 2.1
String PROPERTY_COPY_ON_ATTACH
"javax.jdo.option.CopyOnAttach"
- Since:
- JDO 2.1
"javax.jdo.option.DetachAllOnCommit"
- Since:
- JDO 2.1
String PROPERTY_IGNORE_CACHE
"javax.jdo.option.IgnoreCache"
- Since:
- JDO 2.1
"javax.jdo.listener.InstanceLifecycleListener"
- Since:
- JDO 2.1
String PROPERTY_MAPPING
"javax.jdo.option.Mapping"
- Since:
- JDO 2.1
- See Also:
- PersistenceManagerFactory.getMapping()
String PROPERTY_MAPPING_CATALOG
Mapping "javax.jdo.mapping.Catalog"
- Since:
- JDO 2.1
String PROPERTY_MAPPING_SCHEMA
Mapping "javax.jdo.mapping.Schema"
- Since:
- JDO 2.1
String PROPERTY_MULTITHREADED
"javax.jdo.option.Multithreaded"
- Since:
- JDO 2.1
String PROPERTY_NAME
"javax.jdo.option.Name"
- Since:
- JDO 2.1
- See Also:
- PersistenceManagerFactory.getName()
"javax.jdo.option.NontransactionalRead"
- Since:
- JDO 2.1
"javax.jdo.option.NontransactionalWrite"
- Since:
- JDO 2.1
String PROPERTY_OPTIMISTIC
"javax.jdo.option.Optimistic"
- Since:
- JDO 2.1
"javax.jdo.PersistenceManagerFactoryClass"
- Since:
- JDO 2.1
"javax.jdo.option.PersistenceUnitName"
- Since:
- JDO 2.1
Prefix used to configure javax.jdo.listener.InstanceLifecycleListener instances externally. To configure an
For example,
is equivalent to calling
where
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
String PROPERTY_READONLY
"javax.jdo.option.ReadOnly"
- Since:
- JDO 2.2
- See Also:
- PersistenceManagerFactory.getReadOnly()
String PROPERTY_RESTORE_VALUES
"javax.jdo.option.RestoreValues"
- Since:
- JDO 2.1
String PROPERTY_RETAIN_VALUES
"javax.jdo.option.RetainValues"
- Since:
- JDO 2.1
String PROPERTY_SERVER_TIME_ZONE_ID
Mapping "javax.jdo.option.ServerTimeZoneID"
- Since:
- JDO 2.1
String PROPERTY_SPI_RESOURCE_NAME
"javax.jdo.option.spi.ResourceName"
- Since:
- JDO 2.1
"javax.jdo.option.TransactionIsolationLevel"
- Since:
- JDO 2.2
"javax.jdo.option.TransactionIsolationLevel.read-committed"
- Since:
- JDO 2.2
"javax.jdo.option.TransactionIsolationLevel.read-uncommitted"
- Since:
- JDO 2.2
"javax.jdo.option.TransactionIsolationLevel.repeatable-read"
- Since:
- JDO 2.2
"javax.jdo.option.TransactionIsolationLevel.serializable"
- Since:
- JDO 2.2
"javax.jdo.option.TransactionIsolationLevel.snapshot"
- Since:
- JDO 2.2
String RESOURCE_LOCAL
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. Constant value is
META-INF/services/javax.jdo.PersistenceManagerFactory
. - Since:
- JDO 2.1
String TX_READ_COMMITTED
Transaction isolation level representing the requirement to read committed data only.
- Since:
- JDO 2.2
String TX_READ_UNCOMMITTED
Transaction isolation level representing the ability to read uncommitted data.
- Since:
- JDO 2.2
String TX_REPEATABLE_READ
Transaction isolation level representing the requirement to read the same data in the same transaction.
- Since:
- JDO 2.2
String TX_SERIALIZABLE
Transaction isolation level representing the requirement to serialize transactions.
- Since:
- JDO 2.2
String TX_SNAPSHOT
Transaction isolation level representing the requirement to keep a snapshot for reading data.
- Since:
- JDO 2.2