Interface Constants
- All Known Implementing Classes:
JDOHelper
public interface Constants
Constant values used in JDO.
- Since:
- 2.1
- Version:
- 2.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the anonymous PersistenceManagerFactory, which is the empty string.static final StringThe name of the instance lifecycle listener element in the JDO configuration file.static final StringThe name of the persistence manager factory element in the JDO configuration file.static final StringThe name of the persistence manager factory property elements in the JDO configuration file.static final StringThe name of the instance lifecycle listener element's "classes" attribute.static final StringThe name of the instance lifecycle listener element's "listener" attribute.static final StringThe name of the resource for the DTD of the standard JDO metadata file.static final StringThe standard JDO metadata schema namespace.static final StringThe name of the resource for the XML schema of the standard JDO metadata file.static final StringThe name of the resource for the DTD of the standard JDO configuration file.static final StringThe name of the standard JDO configuration resource file(s).static final StringThe standard JDO configuration schema namespace.static final StringThe name of the resource for the XML schema of the standard JDO configuration file.static final StringThe name of the resource for the DTD of the standard JDO query metadata file.static final StringThe standard JDO query schema namespace.static final StringThe name of the resource for the XML schema of the standard JDO query metadata file.static final StringThe value for TransactionType to specify that transactions are managed by the Java Transactions API, as documented in JSR-220.static final StringNonconfigurable property constanct "VendorName"static final StringNonconfigurable property constanct "VersionNumber"static final String"javax.jdo.option.ApplicationIdentity"static final String"javax.jdo.option.Array"static final String"javax.jdo.option.ArrayList"static final String"javax.jdo.option.BinaryCompatibility"static final String"javax.jdo.option.ChangeApplicationIdentity"static final String"javax.jdo.option.DatastoreIdentity"static final String"javax.jdo.option.GetDataStoreConnection"static final String"javax.jdo.option.GetJDBCConnection"static final String"javax.jdo.option.LinkedList"static final String"javax.jdo.option.mapping.HeterogeneousInterfaceType"static final String"javax.jdo.option.mapping.HeterogeneousObjectType"static final String"javax.jdo.option.mapping.JoinedTablePerClass"static final String"javax.jdo.option.mapping.JoinedTablePerConcreteClass"static final String"javax.jdo.option.mapping.NonJoinedTablePerConcreteClass"static final String"javax.jdo.option.mapping.RelationSubclassTable"static final String"javax.jdo.option.NonDurableIdentity"static final String"javax.jdo.option.NontransactionalRead"static final String"javax.jdo.option.NontransactionalWrite"static final String"javax.jdo.option.NullCollection"static final String"javax.jdo.option.Optimistic"static final String"javax.jdo.option.PreDirtyEvent"static final String"javax.jdo.query.SQL"static final String"javax.jdo.option.RetainValues"static final String"javax.jdo.option.TransientTransactional"static final String"javax.jdo.option.TreeMap"static final String"javax.jdo.option.TreeSet"static final String"javax.jdo.option.UnconstrainedQueryVariables"static final String"javax.jdo.option.Vector"static final String"javax.jdo.option.version.DateTime"static final String"javax.jdo.option.version.StateImage"static final StringThe name of the resource for the DTD of the standard JDO object-relational mapping metadata file.static final StringThe standard JDO object-repository mapping schema namespace.static final StringThe name of the resource for the XML schema of the standard JDO object-relational mapping metadata file.static final StringThe name of the persistence manager factory element's "class" attribute.static final StringThe name of the persistence manager factory element's "connection-driver-name" attribute.static final StringThe name of the persistence manager factory element's "connection-factory-name" attribute.static final StringThe name of the persistence manager factory element's "connection-factory2-name" attribute.static final StringThe name of the persistence manager factory element's "connection-password" attribute.static final StringThe name of the persistence manager factory element's "connection-url" attribute.static final StringThe name of the persistence manager factory element's "connection-user-name" attribute.static final StringThe name of the persistence manager factory element's "copy-on-attach" attribute.static final StringThe name of the persistence manager factory element's "detach-all-on-commit" attribute.static final StringThe name of the persistence manager factory element's "ignore-cache" attribute.static final StringThe name of the persistence manager factory element's "mapping" attribute.static final StringThe name of the persistence manager factory element's "multithreaded" attribute.static final StringThe name of the persistence manager factory element's "name" attribute.static final StringThe name of the persistence manager factory element's "nontransactional-read" attribute.static final StringThe name of the persistence manager factory element's "nontransactional-write" attribute.static final StringThe name of the persistence manager factory element's "optimistic" attribute.static final StringThe name of the persistence manager factory element's "persistence-unit-name" attribute.static final StringThe name of the persistence manager factory element's "readonly" attribute.static final StringThe name of the persistence manager factory element's "restore-values" attribute.static final StringThe name of the persistence manager factory element's "retain-values" attribute.static final StringThe name of the persistence manager factory element's "server-time-zone-id" attribute.static final StringThe name of the persistence manager factory property element's "name" attribute.static final StringThe name of the persistence manager factory property element's "value" attribute.static final String"javax.jdo.option.ConnectionDriverName"static final String"javax.jdo.option.ConnectionFactoryName"static final String"javax.jdo.option.ConnectionFactory2Name"static final String"javax.jdo.option.Password"static final String"javax.jdo.option.ConnectionURL"static final String"javax.jdo.option.ConnectionUserName"static final String"javax.jdo.option.CopyOnAttach"static final String"javax.jdo.option.DetachAllOnCommit"static final String"javax.jdo.option.IgnoreCache"static final String"javax.jdo.listener.InstanceLifecycleListener"static final String"javax.jdo.option.Mapping"static final StringMapping "javax.jdo.mapping.Catalog"static final StringMapping "javax.jdo.mapping.Schema"static final String"javax.jdo.option.Multithreaded"static final String"javax.jdo.option.Name"static final String"javax.jdo.option.NontransactionalRead"static final String"javax.jdo.option.NontransactionalWrite"static final String"javax.jdo.option.Optimistic"static final String"javax.jdo.PersistenceManagerFactoryClass"static final String"javax.jdo.option.PersistenceUnitName"static final StringPrefix used to configureInstanceLifecycleListenerinstances externally.static final String"javax.jdo.option.ReadOnly"static final String"javax.jdo.option.RestoreValues"static final String"javax.jdo.option.RetainValues"static final StringMapping "javax.jdo.option.ServerTimeZoneID"static final String"javax.jdo.option.spi.ResourceName"static final String"javax.jdo.option.TransactionIsolationLevel"static final String"javax.jdo.option.TransactionIsolationLevel.read-committed"static final String"javax.jdo.option.TransactionIsolationLevel.read-uncommitted"static final String"javax.jdo.option.TransactionIsolationLevel.repeatable-read"static final String"javax.jdo.option.TransactionIsolationLevel.serializable"static final String"javax.jdo.option.TransactionIsolationLevel.snapshot"static final StringThe value for TransactionType to specify that transactions are managed by the javax.jdo.Transaction instance, similar to the usage as documented in JSR-220.static final StringThe name of the standard service configuration resource text file containing the name of an implementation ofPersistenceManagerFactory.static final StringTransaction isolation level representing the requirement to read committed data only.static final StringTransaction isolation level representing the ability to read uncommitted data.static final StringTransaction isolation level representing the requirement to read the same data in the same transaction.static final StringTransaction isolation level representing the requirement to serialize transactions.static final StringTransaction isolation level representing the requirement to keep a snapshot for reading data.
-
Field Details
-
SERVICE_LOOKUP_PMF_RESOURCE_NAME
The name of the standard service configuration resource text file containing the name of an implementation ofPersistenceManagerFactory. Constant value isMETA-INF/services/javax.jdo.PersistenceManagerFactory.- Since:
- 2.1
- See Also:
-
JDOCONFIG_RESOURCE_NAME
The name of the standard JDO configuration resource file(s). Constant value isMETA-INF/jdoconfig.xml.- Since:
- 2.1
- See Also:
-
JDOCONFIG_XSD_NS
The standard JDO configuration schema namespace. Constant value ishttp://java.sun.com/xml/ns/jdo/jdoconfig.- Since:
- 2.1
- See Also:
-
JDO_XSD_NS
The standard JDO metadata schema namespace. Constant value ishttp://java.sun.com/xml/ns/jdo/jdo.- Since:
- 2.1
- See Also:
-
ORM_XSD_NS
The standard JDO object-repository mapping schema namespace. Constant value ishttp://java.sun.com/xml/ns/jdo/orm.- Since:
- 2.1
- See Also:
-
JDOQUERY_XSD_NS
The standard JDO query schema namespace. Constant value ishttp://java.sun.com/xml/ns/jdo/jdoquery.- Since:
- 2.1
- See Also:
-
ELEMENT_PERSISTENCE_MANAGER_FACTORY
The name of the persistence manager factory element in the JDO configuration file. Constant value ispersistence-manager-factory.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_CLASS
The name of the persistence manager factory element's "class" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_NAME
The name of the persistence manager factory element's "name" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_PERSISTENCE_UNIT_NAME
The name of the persistence manager factory element's "persistence-unit-name" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_OPTIMISTIC
The name of the persistence manager factory element's "optimistic" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_READONLY
The name of the persistence manager factory element's "readonly" attribute.- Since:
- 2.2
- See Also:
-
PMF_ATTRIBUTE_RETAIN_VALUES
The name of the persistence manager factory element's "retain-values" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_RESTORE_VALUES
The name of the persistence manager factory element's "restore-values" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_IGNORE_CACHE
The name of the persistence manager factory element's "ignore-cache" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_NONTRANSACTIONAL_READ
The name of the persistence manager factory element's "nontransactional-read" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_NONTRANSACTIONAL_WRITE
The name of the persistence manager factory element's "nontransactional-write" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_MULTITHREADED
The name of the persistence manager factory element's "multithreaded" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_CONNECTION_DRIVER_NAME
The name of the persistence manager factory element's "connection-driver-name" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_CONNECTION_USER_NAME
The name of the persistence manager factory element's "connection-user-name" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_CONNECTION_PASSWORD
The name of the persistence manager factory element's "connection-password" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_CONNECTION_URL
The name of the persistence manager factory element's "connection-url" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_CONNECTION_FACTORY_NAME
The name of the persistence manager factory element's "connection-factory-name" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_CONNECTION_FACTORY2_NAME
The name of the persistence manager factory element's "connection-factory2-name" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_DETACH_ALL_ON_COMMIT
The name of the persistence manager factory element's "detach-all-on-commit" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_COPY_ON_ATTACH
The name of the persistence manager factory element's "copy-on-attach" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_MAPPING
The name of the persistence manager factory element's "mapping" attribute.- Since:
- 2.1
- See Also:
-
PMF_ATTRIBUTE_SERVER_TIME_ZONE_ID
The name of the persistence manager factory element's "server-time-zone-id" attribute.- Since:
- 2.1
- See Also:
-
ELEMENT_PROPERTY
The name of the persistence manager factory property elements in the JDO configuration file.- See Also:
-
PROPERTY_ATTRIBUTE_NAME
The name of the persistence manager factory property element's "name" attribute.- See Also:
-
PROPERTY_ATTRIBUTE_VALUE
The name of the persistence manager factory property element's "value" attribute.- See Also:
-
ELEMENT_INSTANCE_LIFECYCLE_LISTENER
The name of the instance lifecycle listener element in the JDO configuration file.- See Also:
-
INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE_LISTENER
The name of the instance lifecycle listener element's "listener" attribute.- See Also:
-
INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE_CLASSES
The name of the instance lifecycle listener element's "classes" attribute.- See Also:
-
OPTION_TRANSACTIONAL_TRANSIENT
"javax.jdo.option.TransientTransactional"- Since:
- 2.1
- See Also:
-
OPTION_NONTRANSACTIONAL_READ
"javax.jdo.option.NontransactionalRead"- Since:
- 2.1
- See Also:
-
OPTION_NONTRANSACTIONAL_WRITE
"javax.jdo.option.NontransactionalWrite"- Since:
- 2.1
- See Also:
-
OPTION_RETAIN_VALUES
-
OPTION_OPTIMISTIC
-
OPTION_APPLICATION_IDENTITY
"javax.jdo.option.ApplicationIdentity"- Since:
- 2.1
- See Also:
-
OPTION_DATASTORE_IDENTITY
"javax.jdo.option.DatastoreIdentity"- Since:
- 2.1
- See Also:
-
OPTION_NONDURABLE_IDENTITY
"javax.jdo.option.NonDurableIdentity"- Since:
- 2.1
- See Also:
-
OPTION_ARRAYLIST
-
OPTION_LINKEDLIST
-
OPTION_TREEMAP
-
OPTION_TREESET
-
OPTION_VECTOR
-
OPTION_ARRAY
-
OPTION_NULL_COLLECTION
-
OPTION_CHANGE_APPLICATION_IDENTITY
"javax.jdo.option.ChangeApplicationIdentity"- Since:
- 2.1
- See Also:
-
OPTION_BINARY_COMPATIBILITY
"javax.jdo.option.BinaryCompatibility"- Since:
- 2.1
- See Also:
-
OPTION_GET_DATASTORE_CONNECTION
"javax.jdo.option.GetDataStoreConnection"- Since:
- 2.1
- See Also:
-
OPTION_GET_JDBC_CONNECTION
"javax.jdo.option.GetJDBCConnection"- Since:
- 2.1
- See Also:
-
OPTION_QUERY_SQL
-
OPTION_UNCONSTRAINED_QUERY_VARIABLES
"javax.jdo.option.UnconstrainedQueryVariables"- Since:
- 2.1
- See Also:
-
OPTION_VERSION_DATETIME
"javax.jdo.option.version.DateTime"- Since:
- 2.1
- See Also:
-
OPTION_VERSION_STATE_IMAGE
"javax.jdo.option.version.StateImage"- Since:
- 2.1
- See Also:
-
OPTION_PREDIRTY_EVENT
-
OPTION_MAPPING_HETEROGENEOUS_OBJECT_TYPE
"javax.jdo.option.mapping.HeterogeneousObjectType"- Since:
- 2.1
- See Also:
-
OPTION_MAPPING_HETEROGENEOUS_INTERFACE_TYPE
"javax.jdo.option.mapping.HeterogeneousInterfaceType"- Since:
- 2.1
- See Also:
-
OPTION_MAPPING_JOINED_TABLE_PER_CLASS
"javax.jdo.option.mapping.JoinedTablePerClass"- Since:
- 2.1
- See Also:
-
OPTION_MAPPING_JOINED_TABLE_PER_CONCRETE_CLASS
"javax.jdo.option.mapping.JoinedTablePerConcreteClass"- Since:
- 2.1
- See Also:
-
OPTION_MAPPING_NON_JOINED_TABLE_PER_CONCRETE_CLASS
"javax.jdo.option.mapping.NonJoinedTablePerConcreteClass"- Since:
- 2.1
- See Also:
-
OPTION_MAPPING_RELATION_SUBCLASS_TABLE
"javax.jdo.option.mapping.RelationSubclassTable"- Since:
- 2.1
- See Also:
-
PROPERTY_PERSISTENCE_MANAGER_FACTORY_CLASS
"javax.jdo.PersistenceManagerFactoryClass"- Since:
- 2.1
- See Also:
-
PROPERTY_OPTIMISTIC
-
PROPERTY_READONLY
-
PROPERTY_RETAIN_VALUES
-
PROPERTY_RESTORE_VALUES
-
PROPERTY_IGNORE_CACHE
-
PROPERTY_NONTRANSACTIONAL_READ
"javax.jdo.option.NontransactionalRead"- Since:
- 2.1
- See Also:
-
PROPERTY_NONTRANSACTIONAL_WRITE
"javax.jdo.option.NontransactionalWrite"- Since:
- 2.1
- See Also:
-
PROPERTY_MULTITHREADED
-
PROPERTY_TRANSACTION_ISOLATION_LEVEL
"javax.jdo.option.TransactionIsolationLevel"- Since:
- 2.2
- See Also:
-
PROPERTY_TRANSACTION_ISOLATION_LEVEL_READ_UNCOMMITTED
"javax.jdo.option.TransactionIsolationLevel.read-uncommitted"- Since:
- 2.2
- See Also:
-
PROPERTY_TRANSACTION_ISOLATION_LEVEL_READ_COMMITTED
"javax.jdo.option.TransactionIsolationLevel.read-committed"- Since:
- 2.2
- See Also:
-
PROPERTY_TRANSACTION_ISOLATION_LEVEL_REPEATABLE_READ
"javax.jdo.option.TransactionIsolationLevel.repeatable-read"- Since:
- 2.2
- See Also:
-
PROPERTY_TRANSACTION_ISOLATION_LEVEL_SNAPSHOT
"javax.jdo.option.TransactionIsolationLevel.snapshot"- Since:
- 2.2
- See Also:
-
PROPERTY_TRANSACTION_ISOLATION_LEVEL_SERIALIZABLE
"javax.jdo.option.TransactionIsolationLevel.serializable"- Since:
- 2.2
- See Also:
-
PROPERTY_DETACH_ALL_ON_COMMIT
"javax.jdo.option.DetachAllOnCommit"- Since:
- 2.1
- See Also:
-
PROPERTY_COPY_ON_ATTACH
-
PROPERTY_CONNECTION_DRIVER_NAME
"javax.jdo.option.ConnectionDriverName"- Since:
- 2.1
- See Also:
-
PROPERTY_CONNECTION_USER_NAME
"javax.jdo.option.ConnectionUserName"- Since:
- 2.1
- See Also:
-
PROPERTY_CONNECTION_PASSWORD
-
PROPERTY_CONNECTION_URL
-
PROPERTY_CONNECTION_FACTORY_NAME
"javax.jdo.option.ConnectionFactoryName"- Since:
- 2.1
- See Also:
-
PROPERTY_CONNECTION_FACTORY2_NAME
"javax.jdo.option.ConnectionFactory2Name"- Since:
- 2.1
- See Also:
-
PROPERTY_MAPPING
-
PROPERTY_PERSISTENCE_UNIT_NAME
"javax.jdo.option.PersistenceUnitName"- Since:
- 2.1
- See Also:
-
PROPERTY_NAME
-
PROPERTY_SPI_RESOURCE_NAME
"javax.jdo.option.spi.ResourceName"- Since:
- 2.1
- See Also:
-
PROPERTY_INSTANCE_LIFECYCLE_LISTENER
"javax.jdo.listener.InstanceLifecycleListener"- See Also:
-
PROPERTY_PREFIX_INSTANCE_LIFECYCLE_LISTENER
Prefix used to configureInstanceLifecycleListenerinstances externally. To configure anInstanceLifecycleListenervia 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});
wherepmfis an instance of typePersistenceManagerFactory.- Since:
- 2.1
- See Also:
-
PROPERTY_MAPPING_CATALOG
Mapping "javax.jdo.mapping.Catalog"- Since:
- 2.1
- See Also:
-
PROPERTY_MAPPING_SCHEMA
-
PROPERTY_SERVER_TIME_ZONE_ID
Mapping "javax.jdo.option.ServerTimeZoneID"- Since:
- 2.1
- See Also:
-
NONCONFIGURABLE_PROPERTY_VENDOR_NAME
Nonconfigurable property constanct "VendorName"- Since:
- 2.1
- See Also:
-
NONCONFIGURABLE_PROPERTY_VERSION_NUMBER
Nonconfigurable property constanct "VersionNumber"- Since:
- 2.1
- See Also:
-
JTA
The value for TransactionType to specify that transactions are managed by the Java Transactions API, as documented in JSR-220.- Since:
- 2.1
- See Also:
-
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:
- 2.1
- See Also:
-
JDOCONFIG_DTD_RESOURCE
The name of the resource for the DTD of the standard JDO configuration file.- Since:
- 2.1
- See Also:
-
JDOCONFIG_XSD_RESOURCE
The name of the resource for the XML schema of the standard JDO configuration file.- Since:
- 2.1
- See Also:
-
JDO_DTD_RESOURCE
The name of the resource for the DTD of the standard JDO metadata file.- Since:
- 2.1
- See Also:
-
JDO_XSD_RESOURCE
The name of the resource for the XML schema of the standard JDO metadata file.- Since:
- 2.1
- See Also:
-
ORM_DTD_RESOURCE
The name of the resource for the DTD of the standard JDO object-relational mapping metadata file.- Since:
- 2.1
- See Also:
-
ORM_XSD_RESOURCE
The name of the resource for the XML schema of the standard JDO object-relational mapping metadata file.- Since:
- 2.1
- See Also:
-
JDOQUERY_DTD_RESOURCE
The name of the resource for the DTD of the standard JDO query metadata file.- Since:
- 2.1
- See Also:
-
JDOQUERY_XSD_RESOURCE
The name of the resource for the XML schema of the standard JDO query metadata file.- Since:
- 2.1
- See Also:
-
ANONYMOUS_PERSISTENCE_MANAGER_FACTORY_NAME
The name of the anonymous PersistenceManagerFactory, which is the empty string.- Since:
- 2.1
- See Also:
-
TX_READ_UNCOMMITTED
Transaction isolation level representing the ability to read uncommitted data.- Since:
- 2.2
- See Also:
-
TX_READ_COMMITTED
Transaction isolation level representing the requirement to read committed data only.- Since:
- 2.2
- See Also:
-
TX_REPEATABLE_READ
Transaction isolation level representing the requirement to read the same data in the same transaction.- Since:
- 2.2
- See Also:
-
TX_SNAPSHOT
Transaction isolation level representing the requirement to keep a snapshot for reading data.- Since:
- 2.2
- See Also:
-
TX_SERIALIZABLE
Transaction isolation level representing the requirement to serialize transactions.- Since:
- 2.2
- See Also:
-