Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addFailedObject(Object) - Method in exception com.sun.jdo.api.persistence.support.JDOException
-
The exception may need to add objects to an array of failed objects.
- afterCompletion(int) - Method in class com.sun.jdo.api.persistence.support.SynchronizationManager
-
This method will be called during transaction completion.
B
- beforeCompletion() - Method in class com.sun.jdo.api.persistence.support.SynchronizationManager
-
This method will be called during transaction completion.
- begin() - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
Begin a transaction.
- bindFixedCharColumn(PreparedStatement, int, String, int) - Method in interface com.sun.jdo.api.persistence.support.SpecialDBOperation
-
Binds specified value to parameter at specified index that is bound to CHAR column.
C
- close() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
A PersistenceManager instance can be used until it is closed.
- com.sun.jdo.api.persistence.support - package com.sun.jdo.api.persistence.support
- commit() - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
Commit the current transaction.
- compile() - Method in interface com.sun.jdo.api.persistence.support.Query
-
Verify the elements of the query and provide a hint to the query to prepare and optimize an execution plan.
- ConnectionFactory - Interface in com.sun.jdo.api.persistence.support
- currentTransaction() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
There is exactly one Transaction associated with a PersistenceManager.
D
- declareImports(String) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Set the import statements to be used to identify the package name of variables or parameters.
- declareParameters(String) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Set the parameter list for query execution.
- declareVariables(String) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Declare the unbound variables to be used in the query.
- defaultCapacity - Static variable in class com.sun.jdo.api.persistence.support.SynchronizationManager
-
The default capacity of the List of Synchronizations.
- defineColumnTypeForResult(PreparedStatement, List) - Method in interface com.sun.jdo.api.persistence.support.SpecialDBOperation
-
Defines column type for result.
- deletePersistent(Object) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Delete the persistent instance from the data store.
- deletePersistent(Object[]) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Delete an array of instances from the data store.
- deletePersistent(Collection) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Delete a Collection of instances from the data store.
E
- execute() - Method in interface com.sun.jdo.api.persistence.support.Query
-
Execute the query and return the filtered Collection.
- execute(Object) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Execute the query and return the filtered Collection.
- execute(Object, Object) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Execute the query and return the filtered Collection.
- execute(Object, Object, Object) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Execute the query and return the filtered Collection.
- executeWithArray(Object[]) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Execute the query and return the filtered Collection.
- executeWithMap(Map) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Execute the query and return the filtered Collection.
F
- FieldMapping - Interface in com.sun.jdo.api.persistence.support
-
FieldMapping inteface is information of a column element for external user.
G
- getColumnLength() - Method in interface com.sun.jdo.api.persistence.support.FieldMapping
-
This method return -1 if column length is unknown.
- getColumnName() - Method in interface com.sun.jdo.api.persistence.support.FieldMapping
-
This method will return the name of the column.
- getColumnType() - Method in interface com.sun.jdo.api.persistence.support.FieldMapping
-
This method will return int corresponding to java.sql.Types.
- getConnection() - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Returns java.sql.Connection
- getConnectionDriverName() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns JDBC driver name
- getConnectionFactory() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns Connection Factory object that can be one of ConnectionFactory or javax.sql.DataSource
- getConnectionFactoryName() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns ConnectionFactory name
- getConnectionLoginTimeout() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns the number of seconds to wait for a new connection to be established to the data source
- getConnectionLogWriter() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns the LogWriter to which messages should be sent
- getConnectionMaxPool() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns maximum number of connections in the connection pool
- getConnectionMinPool() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns minimum number of connections in the connection pool
- getConnectionMsInterval() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns the amount of time, in milliseconds, between the connection manager's attempts to get a pooled connection.
- getConnectionMsWait() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns the number of milliseconds to wait for an available connection from the connection pool before throwing an exception
- getConnectionTransactionIsolation() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns current transaction isolation level for connections of this PersistenceManagerFactory.
- getConnectionURL() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns connection URL
- getConnectionUserName() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns database user name
- getDriverName() - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Returns JDBC driver name
- getExtent(Class, boolean) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
The PersistenceManager may manage a collection of instances in the data store based on the class of the instances.
- getFailedObjectArray() - Method in exception com.sun.jdo.api.persistence.support.JDOException
-
The exception may include an array of failed objects.
- getIdentifier() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Gets Identifier.
- getIgnoreCache() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns the boolean value for the flag that allows the user to request that queries be optimized to return approximate results by ignoring changed values in the cache.
- getIgnoreCache() - Method in interface com.sun.jdo.api.persistence.support.Query
-
Get the ignoreCache option setting.
- getLoginTimeout() - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Returns the number of seconds to wait for a new connection to be established to the data source
- getLogWriter() - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Returns the LogWriter to which messages should be sent
- getMaxPool() - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Returns maximum number of connections in the connection pool
- getMaxPool() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns maximum number of PersistenceManager instances in the pool
- getMinPool() - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Returns minimum number of connections in the connection pool
- getMinPool() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns minimum number of PersistenceManager instances in the pool
- getMsInterval() - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Returns the amount of time, in milliseconds, between the connection manager's attempts to get a pooled connection.
- getMsWait() - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Returns the number of milliseconds to wait for an available connection from the connection pool before throwing an exception
- getNestedException() - Method in exception com.sun.jdo.api.persistence.support.JDOException
-
The exception may have been caused by an Exception in the runtime.
- getNontransactionalRead() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns the boolean value for the flag that allows non-transactional instances to be managed in the cache.
- getNontransactionalRead() - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
If this flag is set to true, then queries and navigation are allowed without an active transaction
- getObjectById(Object) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
This method locates a persistent instance in the cache of instances managed by this PersistenceManager.
- getObjectById(Object, boolean) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
This method locates a persistent instance in the cache of instances managed by this
PersistenceManager. - getObjectId(Object) - Static method in class com.sun.jdo.api.persistence.support.JDOHelper
-
Returns a copy of the JDO identity associated with an object.
- getObjectId(Object) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
The ObjectId returned by this method represents the JDO identity of the instance.
- getObjectIdClass(Class) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
In order for the application to construct instance of the ObjectId class it needs to know the class being used by the JDO implementation.
- getOptimistic() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns the boolean value of the optimistic flag for all PersistenceManagers
- getOptimistic() - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
Optimistic transactions do not hold data store locks until commit time.
- getPersistenceManager() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Creates new PersistenceManager without extra info
- getPersistenceManager() - Method in interface com.sun.jdo.api.persistence.support.Query
-
Get the PersistenceManager associated with this Query.
- getPersistenceManager() - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
The Tranansaction instance is always associated with exactly one PersistenceManager.
- getPersistenceManager(Object) - Static method in class com.sun.jdo.api.persistence.support.JDOHelper
-
Returns the associated PersistenceManager of an object if there is one.
- getPersistenceManager(String, char[]) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Creates new PersistenceManager with specific username and password.
- getPersistenceManagerFactory() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
This method returns the PersistenceManagerFactory used to create this PersistenceManager.
- getProperties() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
The JDO vendor might store certain non-operational properties and make those properties available to applications (for troubleshooting).
- getProperties() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns non-operational properties to be available to the application via a Properties instance.
- getQueryTimeout() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Gets the number of seconds to wait for a query statement to execute in the datastore associated with this PersistenceManagerFactory.
- getQueryTimeout() - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
Gets the number of seconds to wait for a query statement to execute in the datastore associated with this Transaction instance
- getRequireCopyObjectId() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Returns the boolean value of the requireCopyObjectId flag for this PersistenceManager.
- getRequireCopyObjectId() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns the default value of the requireCopyObjectId flag for this PersistenceManagerFactory.
- getRequireTrackedSCO() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Returns the boolean value of the requireTrackedSCO flag for this PersistenceManager.
- getRequireTrackedSCO() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns the boolean value of the requireTrackedSCO flag for this PersistenceManagerFactory.
- getRestoreValues() - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
If true, at rollback time instances restore their field values.
- getRetainValues() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns the boolean value for the flag that will not cause the eviction of persistent instances after transaction completion.
- getRetainValues() - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
If true, at commit time instances retain their field values.
- getSupersedeDeletedInstance() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Returns the boolean value of the supersedeDeletedInstance flag for this PersistenceManager.
- getSupersedeDeletedInstance() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Returns the boolean value of the supersedeDeletedInstance flag for all PersistenceManagers.
- getSynchronization() - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
The user-specified Synchronization instance for this Transaction instance.
- getSynchronizationManager(PersistenceManager) - Static method in class com.sun.jdo.api.persistence.support.SynchronizationManager
-
Get the synchronization manager already registered with this persistence manager.
- getTransactionalInstance(Object) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
This method is used to get a PersistenceCapable instance representing the same data store object as the parameter, that is valid for this PersistenceManager.
- getTransactionIsolation() - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Returns current transaction isolation level for connections of this ConnectionFactory.
- getUpdateTimeout() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Gets the number of seconds to wait for an update statement to execute in the datastore associated with this PersistenceManagerFactory.
- getUpdateTimeout() - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
Gets the number of seconds to wait for an update statement to execute in the datastore associated with this Transaction instance
- getURL() - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Returns connection URL
- getUserName() - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Returns database user name
- getUserObject() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
The application can manage the PersistenceManager instances more easily by having an application object associated with each PersistenceManager instance.
I
- initialize(DatabaseMetaData, String) - Method in interface com.sun.jdo.api.persistence.support.SpecialDBOperation
-
This method is called immediately after an instance implementing this interface is created.
- InstanceCallbacks - Interface in com.sun.jdo.api.persistence.support
-
A PersistenceCapable class that provides callback methods for life cycle events implements this interface.
- isActive() - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
Returns whether there is a transaction currently active.
- isClosed() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
A PersistenceManager instance can be used until it is closed.
- isDeleted(Object) - Static method in class com.sun.jdo.api.persistence.support.JDOHelper
-
Tests whether the object has been deleted.
- isDirty(Object) - Static method in class com.sun.jdo.api.persistence.support.JDOHelper
-
Tests whether an object is dirty.
- isNew(Object) - Static method in class com.sun.jdo.api.persistence.support.JDOHelper
-
Tests whether the object has been newly made persistent.
- isPersistent(Object) - Static method in class com.sun.jdo.api.persistence.support.JDOHelper
-
Tests whether an object is persistent.
- isTransactional(Object) - Static method in class com.sun.jdo.api.persistence.support.JDOHelper
-
Tests whether an object is transactional.
J
- JDOCanRetryException - Exception in com.sun.jdo.api.persistence.support
- JDOCanRetryException() - Constructor for exception com.sun.jdo.api.persistence.support.JDOCanRetryException
-
Creates a new
JDOCanRetryExceptionwithout detail message. - JDOCanRetryException(String) - Constructor for exception com.sun.jdo.api.persistence.support.JDOCanRetryException
-
Constructs a new
JDOCanRetryExceptionwith the specified detail message. - JDOCanRetryException(String, Exception) - Constructor for exception com.sun.jdo.api.persistence.support.JDOCanRetryException
-
Constructs a new
JDOCanRetryExceptionwith the specified detail message and nested Exception. - JDOCanRetryException(String, Exception, Object[]) - Constructor for exception com.sun.jdo.api.persistence.support.JDOCanRetryException
-
Constructs a new
JDOCanRetryExceptionwith the specified detail message, nested exception, and failed object array. - JDOCanRetryException(String, Object[]) - Constructor for exception com.sun.jdo.api.persistence.support.JDOCanRetryException
-
Constructs a new
JDOCanRetryExceptionwith the specified detail message and failed object array. - JDODataStoreException - Exception in com.sun.jdo.api.persistence.support
- JDODataStoreException() - Constructor for exception com.sun.jdo.api.persistence.support.JDODataStoreException
-
Creates a new
JDODataStoreExceptionwithout detail message. - JDODataStoreException(String) - Constructor for exception com.sun.jdo.api.persistence.support.JDODataStoreException
-
Constructs a new
JDODataStoreExceptionwith the specified detail message. - JDODataStoreException(String, Exception) - Constructor for exception com.sun.jdo.api.persistence.support.JDODataStoreException
-
Constructs a new
JDODataStoreExceptionwith the specified detail message and nested Exception. - JDODataStoreException(String, Exception, Object[]) - Constructor for exception com.sun.jdo.api.persistence.support.JDODataStoreException
-
Constructs a new
JDODataStoreExceptionwith the specified detail message, nested exception, and failed object array. - JDODataStoreException(String, Object[]) - Constructor for exception com.sun.jdo.api.persistence.support.JDODataStoreException
-
Constructs a new
JDODataStoreExceptionwith the specified detail message and failed object array. - JDODuplicateObjectIdException - Exception in com.sun.jdo.api.persistence.support
-
JDODuplicateObjectIdException is thrown in case this PersistenceManager has another instance with the same Object Id in its cache.
- JDODuplicateObjectIdException() - Constructor for exception com.sun.jdo.api.persistence.support.JDODuplicateObjectIdException
-
Creates a new
JDODuplicateObjectIdExceptionwithout detail message. - JDODuplicateObjectIdException(String) - Constructor for exception com.sun.jdo.api.persistence.support.JDODuplicateObjectIdException
-
Constructs a new
JDODuplicateObjectIdExceptionwith the specified detail message. - JDODuplicateObjectIdException(String, Exception) - Constructor for exception com.sun.jdo.api.persistence.support.JDODuplicateObjectIdException
-
Constructs a new
JDODuplicateObjectIdExceptionwith the specified detail message and nested Exception. - JDODuplicateObjectIdException(String, Exception, Object[]) - Constructor for exception com.sun.jdo.api.persistence.support.JDODuplicateObjectIdException
-
Constructs a new
JDODuplicateObjectIdExceptionwith the specified detail message, nested exception, and failed object array. - JDODuplicateObjectIdException(String, Object[]) - Constructor for exception com.sun.jdo.api.persistence.support.JDODuplicateObjectIdException
-
Constructs a new
JDODuplicateObjectIdExceptionwith the specified detail message and failed object array. - JDOException - Exception in com.sun.jdo.api.persistence.support
-
This is the root of all JDO Exceptions.
- JDOException() - Constructor for exception com.sun.jdo.api.persistence.support.JDOException
-
Creates a new
JDOExceptionwithout detail message. - JDOException(String) - Constructor for exception com.sun.jdo.api.persistence.support.JDOException
-
Constructs a new
JDOExceptionwith the specified detail message. - JDOException(String, Exception) - Constructor for exception com.sun.jdo.api.persistence.support.JDOException
-
Constructs a new
JDOExceptionwith the specified detail message and nested Exception. - JDOException(String, Exception, Object[]) - Constructor for exception com.sun.jdo.api.persistence.support.JDOException
-
Constructs a new
JDOExceptionwith the specified detail message, nested exception, and failed object array. - JDOException(String, Object[]) - Constructor for exception com.sun.jdo.api.persistence.support.JDOException
-
Constructs a new
JDOExceptionwith the specified detail message and failed object array. - JDOFatalDataStoreException - Exception in com.sun.jdo.api.persistence.support
- JDOFatalDataStoreException() - Constructor for exception com.sun.jdo.api.persistence.support.JDOFatalDataStoreException
-
Creates a new
JDOFatalDataStoreExceptionwithout detail message. - JDOFatalDataStoreException(String) - Constructor for exception com.sun.jdo.api.persistence.support.JDOFatalDataStoreException
-
Constructs a new
JDOFatalDataStoreExceptionwith the specified detail message. - JDOFatalDataStoreException(String, Exception) - Constructor for exception com.sun.jdo.api.persistence.support.JDOFatalDataStoreException
-
Constructs a new
JDOFatalDataStoreExceptionwith the specified detail message and nested Exception. - JDOFatalException - Exception in com.sun.jdo.api.persistence.support
- JDOFatalException() - Constructor for exception com.sun.jdo.api.persistence.support.JDOFatalException
-
Creates a new
JDOFatalExceptionwithout detail message. - JDOFatalException(String) - Constructor for exception com.sun.jdo.api.persistence.support.JDOFatalException
-
Constructs a new
JDOFatalExceptionwith the specified detail message. - JDOFatalException(String, Exception) - Constructor for exception com.sun.jdo.api.persistence.support.JDOFatalException
-
Constructs a new
JDOFatalExceptionwith the specified detail message and nested Exception. - JDOFatalInternalException - Exception in com.sun.jdo.api.persistence.support
- JDOFatalInternalException() - Constructor for exception com.sun.jdo.api.persistence.support.JDOFatalInternalException
-
Creates a new
JDOFatalInternalExceptionwithout detail message. - JDOFatalInternalException(String) - Constructor for exception com.sun.jdo.api.persistence.support.JDOFatalInternalException
-
Constructs a new
JDOFatalInternalExceptionwith the specified detail message. - JDOFatalInternalException(String, Exception) - Constructor for exception com.sun.jdo.api.persistence.support.JDOFatalInternalException
-
Constructs a new
JDOFatalInternalExceptionwith the specified detail message and nested Exception. - JDOFatalUserException - Exception in com.sun.jdo.api.persistence.support
- JDOFatalUserException() - Constructor for exception com.sun.jdo.api.persistence.support.JDOFatalUserException
-
Creates a new
JDOFatalUserExceptionwithout detail message. - JDOFatalUserException(String) - Constructor for exception com.sun.jdo.api.persistence.support.JDOFatalUserException
-
Constructs a new
JDOFatalUserExceptionwith the specified detail message. - JDOFatalUserException(String, Exception) - Constructor for exception com.sun.jdo.api.persistence.support.JDOFatalUserException
-
Constructs a new
JDOFatalUserExceptionwith the specified detail message and nested Exception. - jdoGetObjectId() - Method in interface com.sun.jdo.api.persistence.support.PersistenceCapable
-
Return a copy of the JDO identity associated with this instance.
- jdoGetPersistenceManager() - Method in interface com.sun.jdo.api.persistence.support.PersistenceCapable
-
Return the associated PersistenceManager if there is one.
- JDOHelper - Class in com.sun.jdo.api.persistence.support
-
An utility class for querying
PersistenceCapableobjects. - JDOHelper() - Constructor for class com.sun.jdo.api.persistence.support.JDOHelper
- jdoIsDeleted() - Method in interface com.sun.jdo.api.persistence.support.PersistenceCapable
-
Tests whether this object has been deleted.
- jdoIsDirty() - Method in interface com.sun.jdo.api.persistence.support.PersistenceCapable
-
Tests whether this object is dirty.
- jdoIsNew() - Method in interface com.sun.jdo.api.persistence.support.PersistenceCapable
-
Tests whether this object has been newly made persistent.
- jdoIsPersistent() - Method in interface com.sun.jdo.api.persistence.support.PersistenceCapable
-
Tests whether this object is persistent.
- jdoIsTransactional() - Method in interface com.sun.jdo.api.persistence.support.PersistenceCapable
-
Tests whether this object is transactional.
- jdoMakeDirty(String) - Method in interface com.sun.jdo.api.persistence.support.PersistenceCapable
-
Explicitly mark this instance and this field dirty.
- JDOObjectNotFoundException - Exception in com.sun.jdo.api.persistence.support
-
JDOObjectNotFoundException is thrown instead of a more generic JDODataStoreException in case an internal or an external query returned 0 rows.
- JDOObjectNotFoundException() - Constructor for exception com.sun.jdo.api.persistence.support.JDOObjectNotFoundException
-
Creates a new
JDOObjectNotFoundExceptionwithout detail message. - JDOObjectNotFoundException(String) - Constructor for exception com.sun.jdo.api.persistence.support.JDOObjectNotFoundException
-
Constructs a new
JDOObjectNotFoundExceptionwith the specified detail message. - JDOObjectNotFoundException(String, Exception) - Constructor for exception com.sun.jdo.api.persistence.support.JDOObjectNotFoundException
-
Constructs a new
JDOObjectNotFoundExceptionwith the specified detail message and nested Exception. - JDOObjectNotFoundException(String, Exception, Object[]) - Constructor for exception com.sun.jdo.api.persistence.support.JDOObjectNotFoundException
-
Constructs a new
JDOObjectNotFoundExceptionwith the specified detail message, nested exception, and failed object array. - JDOObjectNotFoundException(String, Object[]) - Constructor for exception com.sun.jdo.api.persistence.support.JDOObjectNotFoundException
-
Constructs a new
JDOObjectNotFoundExceptionwith the specified detail message and failed object array. - jdoPostLoad() - Method in interface com.sun.jdo.api.persistence.support.InstanceCallbacks
-
Called after the values are loaded from the data store into this instance.
- jdoPreClear() - Method in interface com.sun.jdo.api.persistence.support.InstanceCallbacks
-
Called before the values in the instance are cleared.
- jdoPreStore() - Method in interface com.sun.jdo.api.persistence.support.InstanceCallbacks
-
Called before the values are stored from this instance to the data store.
- JDOQueryException - Exception in com.sun.jdo.api.persistence.support
- JDOQueryException() - Constructor for exception com.sun.jdo.api.persistence.support.JDOQueryException
-
Creates a new
JDOQueryExceptionwithout detail message. - JDOQueryException(String) - Constructor for exception com.sun.jdo.api.persistence.support.JDOQueryException
-
Constructs a new
JDOQueryExceptionwith the specified detail message. - JDOQueryException(String, Exception) - Constructor for exception com.sun.jdo.api.persistence.support.JDOQueryException
-
Constructs a new
JDOQueryExceptionwith the specified detail message and nested Exception. - JDOUnsupportedOptionException - Exception in com.sun.jdo.api.persistence.support
- JDOUnsupportedOptionException() - Constructor for exception com.sun.jdo.api.persistence.support.JDOUnsupportedOptionException
-
Creates a new
JDOUnsupportedOptionExceptionwithout detail message. - JDOUnsupportedOptionException(String) - Constructor for exception com.sun.jdo.api.persistence.support.JDOUnsupportedOptionException
-
Constructs a new
JDOUnsupportedOptionExceptionwith the specified detail message. - JDOUnsupportedOptionException(String, Exception) - Constructor for exception com.sun.jdo.api.persistence.support.JDOUnsupportedOptionException
-
Constructs a new
JDOUnsupportedOptionExceptionwith the specified detail message and nested Exception. - JDOUserException - Exception in com.sun.jdo.api.persistence.support
- JDOUserException() - Constructor for exception com.sun.jdo.api.persistence.support.JDOUserException
-
Creates a new
JDOUserExceptionwithout detail message. - JDOUserException(String) - Constructor for exception com.sun.jdo.api.persistence.support.JDOUserException
-
Constructs a new
JDOUserExceptionwith the specified detail message. - JDOUserException(String, Exception) - Constructor for exception com.sun.jdo.api.persistence.support.JDOUserException
-
Constructs a new
JDOUserExceptionwith the specified detail message and nested Exception. - JDOUserException(String, Exception, Object[]) - Constructor for exception com.sun.jdo.api.persistence.support.JDOUserException
-
Constructs a new
JDOUserExceptionwith the specified detail message, nested exception, and failed object array. - JDOUserException(String, Object[]) - Constructor for exception com.sun.jdo.api.persistence.support.JDOUserException
-
Constructs a new
JDOUserExceptionwith the specified detail message and failed object array.
M
- makeDirty(Object, String) - Static method in class com.sun.jdo.api.persistence.support.JDOHelper
-
Explicitly marks a field of an object as dirty if the object is persistent and transactional.
- makePersistent(Object) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Make the transient instance persistent in this PersistenceManager.
- makePersistent(Object[]) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Make an array of instances persistent.
- makePersistent(Collection) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Make a Collection of instances persistent.
N
- newCollectionInstance(Class, Object, String, Class, boolean, int) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Returns a new Collection instance of the type specified, with the owner and field name to notify upon changes to the value of any of its fields.
- newQuery() - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Create a new Query with no elements.
- newQuery(Class) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Create a new Query specifying the Class of the candidate instances.
- newQuery(Class, String) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Create a new Query with the Class of the candidate instances and Filter.
- newQuery(Class, Collection) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Create a new Query with the Class of the candidate instances and candidate Collection.
- newQuery(Class, Collection, String) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Create a new Query with the Class of the candidate instances, candidate Collection, and Filter.
- newQuery(Object) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Create a new Query using elements from another Query.
- newSCOInstance(Class, Object, String) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Returns a new Second Class Object instance of the type specified, with the owner and field name to notify upon changes to the value of any of its fields.
P
- PersistenceCapable - Interface in com.sun.jdo.api.persistence.support
-
A class that can be managed by a JDO implementation.
- PersistenceManager - Interface in com.sun.jdo.api.persistence.support
-
PersistenceManager is the primary interface for JDO-aware application components.
- PersistenceManagerFactory - Interface in com.sun.jdo.api.persistence.support
- printObject(Object) - Static method in class com.sun.jdo.api.persistence.support.JDOHelper
-
Prints the object.
- printStackTrace() - Method in exception com.sun.jdo.api.persistence.support.JDOException
-
Prints this
JDOExceptionand its backtrace to the standard error output. - printStackTrace(PrintStream) - Method in exception com.sun.jdo.api.persistence.support.JDOException
-
Prints this
JDOExceptionand its backtrace to the specified print stream. - printStackTrace(PrintWriter) - Method in exception com.sun.jdo.api.persistence.support.JDOException
-
Prints this
JDOExceptionand its backtrace to the specified print writer.
Q
- Query - Interface in com.sun.jdo.api.persistence.support
-
The Query interface allows applications to obtain persistent instances from the data store.
R
- registerSynchronization(Synchronization) - Method in class com.sun.jdo.api.persistence.support.SynchronizationManager
-
Register an instance with this synchronization manager.
- registerSynchronization(Synchronization, PersistenceManager) - Static method in class com.sun.jdo.api.persistence.support.SynchronizationManager
-
Register a new Synchronization with the current transaction.
- rollback() - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
Roll back the current transaction.
S
- setCandidates(Collection) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Set the candidate Collection to query.
- setClass(Class) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Set the class of the candidate instances of the query.
- setConnectionDriverName(String) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets JDBC driver name
- setConnectionFactory(Object) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets Connection Factory as ConnectionFactory or javax.sql.DataSource
- setConnectionFactoryName(SimpleJndiName) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets ConnectionFactory name
- setConnectionLoginTimeout(int) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets the number of seconds to wait for a new connection to be established to the data source
- setConnectionLogWriter(PrintWriter) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets the LogWriter to which messages should be sent
- setConnectionMaxPool(int) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets maximum number of connections in the connection pool
- setConnectionMinPool(int) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets minimum number of connections in the connection pool
- setConnectionMsInterval(int) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets the amount of time, in milliseconds, between the connection manager's attempts to get a pooled connection.
- setConnectionMsWait(int) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets the number of milliseconds to wait for an available connection from the connection pool before throwing an exception
- setConnectionPassword(char[]) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets database user password
- setConnectionTransactionIsolation(int) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets transaction isolation level for all connections of this PersistenceManagerFactory.
- setConnectionURL(String) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets JDBC connection URL
- setConnectionUserName(String) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets database user
- setDefaultCapacity(int) - Static method in class com.sun.jdo.api.persistence.support.SynchronizationManager
-
Specify the default capacity of the list of Synchronizations.
- setDriverName(String) - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Sets JDBC driver name
- setFilter(String) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Set the filter for the query.
- setIdentifier(String) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets Identifier.
- setIgnoreCache(boolean) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets the flag that allows the user to request that queries be optimized to return approximate results by ignoring changed values in the cache.
- setIgnoreCache(boolean) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Set the ignoreCache option.
- setLoginTimeout(int) - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Sets the number of seconds to wait for a new connection to be established to the data source
- setLogWriter(PrintWriter) - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Sets the LogWriter to which messages should be sent
- setMaxPool(int) - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Sets maximum number of connections in the connection pool
- setMaxPool(int) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets maximum number of PersistenceManager instances in the pool
- setMinPool(int) - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Sets minimum number of connections in the connection pool
- setMinPool(int) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets minimum number of PersistenceManager instances in the pool
- setMsInterval(int) - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Sets the amount of time, in milliseconds, between the connection manager's attempts to get a pooled connection.
- setMsWait(int) - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Sets the number of milliseconds to wait for an available connection from the connection pool before throwing an exception
- setNontransactionalRead(boolean) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets the flag that allows non-transactional instances to be managed in the cache.
- setNontransactionalRead(boolean) - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
If this flag is set to true, then queries and navigation are allowed without an active transaction
- setOptimistic(boolean) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets the optimistic flag for all PersistenceManagers
- setOptimistic(boolean) - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
Optimistic transactions do not hold data store locks until commit time.
- setOrdering(String) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Bind the ordering declarations to the query instance.
- setPassword(char[]) - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Sets database user password
- setPrefetchEnabled(boolean) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Sets the prefetchEnabled option.
- setQueryTimeout(int) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets the number of seconds to wait for a query statement to execute in the datastore associated with this PersistenceManagerFactory.
- setQueryTimeout(int) - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
Sets the number of seconds to wait for a query statement to execute in the datastore associated with this Transaction instance
- setRequireCopyObjectId(boolean) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Sets the requireCopyObjectId flag for this PersistenceManager.
- setRequireCopyObjectId(boolean) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets the default value of the requireCopyObjectId flag.
- setRequireTrackedSCO(boolean) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Sets the requireTrackedSCO flag for this PersistenceManager.
- setRequireTrackedSCO(boolean) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets the requireTrackedSCO flag for this PersistenceManagerFactory.
- setRestoreValues(boolean) - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
If true, at rollback instances restore their values and the instances transition to persistent-nontransactional.
- setResult(String) - Method in interface com.sun.jdo.api.persistence.support.Query
-
Set the result of the query.
- setRetainValues(boolean) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets flag that will not cause the eviction of persistent instances after transaction completion.
- setRetainValues(boolean) - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
If true, at commit instances retain their values and the instances transition to persistent-nontransactional.
- setSupersedeDeletedInstance(boolean) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
Sets the supersedeDeletedInstance flag for this PersistenceManager.
- setSupersedeDeletedInstance(boolean) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets the supersedeDeletedInstance flag for all PersistenceManagers.
- setSynchronization(Synchronization) - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
The user can specify a Synchronization instance to be notified on transaction completions.
- setTransactionIsolation(int) - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Sets transaction isolation level for all connections of this ConnectionFactory.
- setUpdateTimeout(int) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManagerFactory
-
Sets the number of seconds to wait for an update statement to execute in the datastore associated with this PersistenceManagerFactory.
- setUpdateTimeout(int) - Method in interface com.sun.jdo.api.persistence.support.Transaction
-
Sets the number of seconds to wait for an update statement to execute in the datastore associated with this Transaction instance
- setURL(String) - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Sets JDBC connection URL
- setUserName(String) - Method in interface com.sun.jdo.api.persistence.support.ConnectionFactory
-
Sets database user
- setUserObject(Object) - Method in interface com.sun.jdo.api.persistence.support.PersistenceManager
-
The application can manage the PersistenceManager instances more easily by having an application object associated with each PersistenceManager instance.
- SpecialDBOperation - Interface in com.sun.jdo.api.persistence.support
-
SpecialDBOperation interface is defined for database specific operations.
- SynchronizationManager - Class in com.sun.jdo.api.persistence.support
-
This class allows for multiple instances to be called at transaction completion, which JDO does not currently provide.
- SynchronizationManager() - Constructor for class com.sun.jdo.api.persistence.support.SynchronizationManager
-
Creates new SynchronizationManager instance with a default capacity of the List of Synchronization instances.
- SynchronizationManager(int) - Constructor for class com.sun.jdo.api.persistence.support.SynchronizationManager
-
Creates new SynchronizationManager instance specifying the initial capacity of the list of Synchronization instances.
- SynchronizationManager(PersistenceManager) - Constructor for class com.sun.jdo.api.persistence.support.SynchronizationManager
-
Creates new SynchronizationManager instance and registers it with the persistence manager.
- synchronizations - Variable in class com.sun.jdo.api.persistence.support.SynchronizationManager
-
The list of instances to synchronize.
T
- toString() - Method in exception com.sun.jdo.api.persistence.support.JDOException
-
The String representation includes the name of the class, the descriptive comment (if any), the String representation of the nested Exception (if any), and the String representation of the failed Object array (if any).
- Transaction - Interface in com.sun.jdo.api.persistence.support
-
The JDO Transaction interface is a sub-interface of the PersistenceManager that deals with options and completion of transactions under user control.
All Classes and Interfaces|All Packages|Serialized Form