javax.jdo.Constants - JDO interface
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
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
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 "VersionNumber"
"javax.jdo.option.ApplicationIdentity"
"javax.jdo.option.ArrayList"
"javax.jdo.option.BinaryCompatibility"
"javax.jdo.option.ChangeApplicationIdentity"
"javax.jdo.option.DatastoreIdentity"
"javax.jdo.option.GetDataStoreConnection"
"javax.jdo.option.GetJDBCConnection"
"javax.jdo.option.LinkedList"
"javax.jdo.option.mapping.HeterogeneousInterfaceType"
"javax.jdo.option.mapping.HeterogeneousObjectType"
"javax.jdo.option.mapping.JoinedTablePerClass"
"javax.jdo.option.mapping.JoinedTablePerConcreteClass"
"javax.jdo.option.mapping.NonJoinedTablePerConcreteClass"
"javax.jdo.option.mapping.RelationSubclassTable"
"javax.jdo.option.NonDurableIdentity"
"javax.jdo.option.NontransactionalRead"
"javax.jdo.option.NontransactionalWrite"
"javax.jdo.option.NullCollection"
"javax.jdo.option.Optimistic"
"javax.jdo.option.PreDirtyEvent"
"javax.jdo.option.RetainValues"
"javax.jdo.option.TransientTransactional"
"javax.jdo.option.TreeMap"
"javax.jdo.option.TreeSet"
"javax.jdo.option.UnconstrainedQueryVariables"
"javax.jdo.option.Vector"
"javax.jdo.option.version.DateTime"
"javax.jdo.option.version.StateImage"
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
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.ConnectionFactory2Name"
"javax.jdo.option.ConnectionFactoryName"
"javax.jdo.option.Password"
"javax.jdo.option.Password"
- Since:
- JDO 2.1
"javax.jdo.option.ConnectionURL"
"javax.jdo.option.ConnectionUserName"
"javax.jdo.option.CopyOnAttach"
"javax.jdo.option.DetachAllOnCommit"
"javax.jdo.option.IgnoreCache"
"javax.jdo.listener.InstanceLifecycleListener"
"javax.jdo.option.Mapping"
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.NontransactionalRead"
"javax.jdo.option.NontransactionalWrite"
"javax.jdo.option.Optimistic"
"javax.jdo.PersistenceManagerFactoryClass"
"javax.jdo.option.PersistenceUnitName"
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.RestoreValues"
"javax.jdo.option.RetainValues"
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-uncommitted"
"javax.jdo.option.TransactionIsolationLevel.repeatable-read"
"javax.jdo.option.TransactionIsolationLevel.serializable"
"javax.jdo.option.TransactionIsolationLevel.snapshot"
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 ability to read uncommitted data.
Transaction isolation level representing the requirement to read the same data in the same transaction.
Transaction isolation level representing the requirement to serialize transactions.
Transaction isolation level representing the requirement to keep a snapshot for reading data.