Uses of Class
org.exolab.castor.jdo.PersistenceException

Packages that use PersistenceException
org.castor.cpa.persistence.sql.engine   
org.castor.cpa.persistence.sql.keygen   
org.castor.persist   
org.castor.persist.resolver   
org.exolab.castor.jdo The Java Data Objects API Version: $Revision: 6216 $ $Date: 2005-04-21 14:21:10 -0600 (Thu, 21 Apr 2005) $ Author: Assaf Arkin The class JDOManager provides the Castor JDO engine used for obtaining a database connection. 
org.exolab.castor.jdo.engine Implementation of the Castor JDO engine. 
org.exolab.castor.jdo.oql   
org.exolab.castor.persist The Castor persistence engine handles object persistence, object caching, transaction concurrency and locking. 
org.exolab.castor.persist.spi Defines the interfaces for persistence engine service providers. 
 

Uses of PersistenceException in org.castor.cpa.persistence.sql.engine
 

Methods in org.castor.cpa.persistence.sql.engine that throw PersistenceException
 Object SQLStatementDelete.executeStatement(Connection conn, Identity identity)
          Execute statement to remove entity with given identity from database using given JDBC connection.
 Object SQLStatementUpdate.executeStatement(Connection conn, Identity identity, ProposedEntity newentity, ProposedEntity oldentity)
          Stores the identity to the database using JDBC Connection.
 Object SQLStatementInsert.executeStatement(Database database, Connection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 void SQLStatementInsertCheck.insertDuplicateKeyCheck(Connection conn, Identity identity)
          Performs check for Duplicate primary key.
 void SQLStatementUpdateCheck.updateFailureCheck(Connection conn, Identity identity)
          This function checks whether the object specified in the statement has been previously removed from the persistent storage or has been modified.
 

Uses of PersistenceException in org.castor.cpa.persistence.sql.keygen
 

Methods in org.castor.cpa.persistence.sql.keygen that throw PersistenceException
 void NoKeyGenerator.bindIdentity(Identity internalIdentity, PreparedStatement stmt)
          Binds the identity values.
 void AbstractBeforeKeyGenerator.bindIdentity(Identity internalIdentity, PreparedStatement stmt)
          Binds the identity values.
 Object SequenceDuringKeyGenerator.executeStatement(Database database, Connection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object NoKeyGenerator.executeStatement(Database database, Connection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object KeyGenerator.executeStatement(Database database, Connection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object AbstractBeforeKeyGenerator.executeStatement(Database database, Connection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object AbstractAfterKeyGenerator.executeStatement(Database database, Connection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object UUIDKeyGenerator.generateKey(Connection conn, String tableName, String primKeyName, Properties props)
          Generate a new key for the specified table.
 Object SequenceDuringKeyGenerator.generateKey(Connection conn, String tableName, String primKeyName, Properties props)
           
 Object SequenceBeforeKeyGenerator.generateKey(Connection conn, String tableName, String primKeyName, Properties props)
           
 Object SequenceAfterKeyGenerator.generateKey(Connection conn, String tableName, String primKeyName, Properties props)
           
 Object NoKeyGenerator.generateKey(Connection conn, String tableName, String primKeyName, Properties props)
          Generate a new key for the specified table.
 Object MaxKeyGenerator.generateKey(Connection conn, String tableName, String primKeyName, Properties props)
          Generate a new key for the specified table as "MAX(primary_key) + 1".
 Object KeyGenerator.generateKey(Connection conn, String tableName, String primKeyName, Properties props)
          Generate a new key for the specified table.
 Object IdentityKeyGenerator.generateKey(Connection conn, String tableName, String primKeyName, Properties props)
          Generate a new key for the specified table.
 Object HighLowKeyGenerator.generateKey(Connection conn, String tableName, String primKeyName, Properties props)
          Generate a new key for the specified table.
 String KeyGeneratorTypeHandlerString.getNextValue(ResultSet rs)
          Gets the value from resultset by calling getValue method and then calls the increment method to increment the extracted value.
 Long KeyGeneratorTypeHandlerLong.getNextValue(ResultSet rs)
          Gets the value from resultset by calling getValue method and then calls the increment method to increment the extracted value.
 Integer KeyGeneratorTypeHandlerInteger.getNextValue(ResultSet rs)
          Gets the value from resultset by calling getValue method and then calls the increment method to increment the extracted value.
 BigDecimal KeyGeneratorTypeHandlerBigDecimal.getNextValue(ResultSet rs)
          Gets the value from resultset by calling getValue method and then calls the increment method to increment the extracted value.
 T KeyGeneratorTypeHandler.getNextValue(ResultSet rs)
          Gets the value from resultset by calling getValue method and then calls the increment method to increment the extracted value.
 Connection AbstractKeyGenerator.getSeparateConnection(Database database)
          Operning new JDBC Connection.
 String KeyGeneratorTypeHandlerString.getValue(ResultSet rs)
          Reads the resultset and return the extracted typehandler value from the resultset.
 Long KeyGeneratorTypeHandlerLong.getValue(ResultSet rs)
          Reads the resultset and return the extracted typehandler value from the resultset.
 Integer KeyGeneratorTypeHandlerInteger.getValue(ResultSet rs)
          Reads the resultset and return the extracted typehandler value from the resultset.
 BigDecimal KeyGeneratorTypeHandlerBigDecimal.getValue(ResultSet rs)
          Reads the resultset and return the extracted typehandler value from the resultset.
 T KeyGeneratorTypeHandler.getValue(ResultSet rs)
          Reads the resultset and return the extracted typehandler value from the resultset.
 void HighLowValueHandler.init(ResultSet rs)
           
 

Uses of PersistenceException in org.castor.persist
 

Methods in org.castor.persist that throw PersistenceException
 void TransactionContext.create(ClassMolder molder, Object object, OID depended)
          Creates a new object in persistent storage.
 void AbstractTransactionContext.create(ClassMolder molder, Object object, OID depended)
          Creates a new object in persistent storage.
 void TransactionContext.delete(Object object)
          Deletes the object from persistent storage.
 void AbstractTransactionContext.delete(Object object)
          Deletes the object from persistent storage.
 void TransactionContext.expireCache(ClassMolder molder, Identity identity)
          Expire object from the cache.
 void AbstractTransactionContext.expireCache(ClassMolder molder, Identity identity)
          Expire object from the cache.
 Object TransactionContext.fetch(ClassMolder molder, Identity identity, AccessMode suggestedAccessMode)
           
 Object AbstractTransactionContext.fetch(ClassMolder molder, Identity identity, AccessMode suggestedAccessMode)
          
 Connection TransactionContext.getConnection(LockEngine engine)
          Return an open connection for the specified engine.
 DbMetaInfo TransactionContext.getConnectionInfo(LockEngine engine)
          Returns meta-data related to the RDBMS used.
 DbMetaInfo AbstractTransactionContext.getConnectionInfo(LockEngine engine)
          Returns meta-data related to the RDBMS used.
 boolean TransactionContext.isCached(ClassMolder molder, Class cls, Identity identity)
           
 boolean AbstractTransactionContext.isCached(ClassMolder molder, Class cls, Identity identity)
          
 Object TransactionContext.load(Identity identity, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
          Load an object for use within the transaction.
 Object AbstractTransactionContext.load(Identity identity, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
          Load an object for use within the transaction.
 Object TransactionContext.load(Identity identity, ProposedEntity proposedObject, AccessMode suggestedAccessMode, QueryResults results)
          Load an object for use within the transaction.
 Object AbstractTransactionContext.load(Identity identity, ProposedEntity proposedObject, AccessMode suggestedAccessMode, QueryResults results)
          Load an object for use within the transaction.
 void TransactionContext.markCreate(ClassMolder molder, Object object, OID rootObjectOID)
          Walk a data object tree starting from the specified object, and mark all objects to be created.
 void AbstractTransactionContext.markCreate(ClassMolder molder, Object object, OID rootObjectOID)
          Walk a data object tree starting from the specified object, and mark all objects to be created.
 void ObjectTracker.markCreating(Object object)
           
 boolean TransactionContext.markUpdate(ClassMolder molder, Object object, OID depended)
          Update a new object in persistent storage and returns the object's OID.
 boolean AbstractTransactionContext.markUpdate(ClassMolder molder, Object object, OID depended)
          Update a new object in persistent storage and returns the object's OID.
 QueryResults TransactionContext.query(LockEngine engine, PersistenceQuery query, AccessMode accessMode, boolean scrollable)
          Perform a query using the query mechanism with the specified access mode.
 QueryResults AbstractTransactionContext.query(LockEngine engine, PersistenceQuery query, AccessMode accessMode, boolean scrollable)
          Perform a query using the query mechanism with the specified access mode.
 void TransactionContext.update(ClassMolder molder, Object object, OID depended)
          Update a new object in persistent storage and returns the object's OID.
 void AbstractTransactionContext.update(ClassMolder molder, Object object, OID depended)
          Update a new object in persistent storage and returns the object's OID.
 void TransactionContext.writeLock(Object object, int timeout)
          Acquire a write lock on the object.
 void AbstractTransactionContext.writeLock(Object object, int timeout)
          Acquire a write lock on the object.
 

Uses of PersistenceException in org.castor.persist.resolver
 

Methods in org.castor.persist.resolver that throw PersistenceException
 Object SerializableResolver.create(TransactionContext tx, Object object)
           
 Object ResolverStrategy.create(TransactionContext tx, Object object)
          Create an object of the base class with specified identity into the persistence storage.
 void ResolverStrategy.expireCache(TransactionContext tx, Object field)
          Inspect the fields stored in the object passed as an argument for contained objects.
 void PersistanceCapableRelationResolver.expireCache(TransactionContext tx, Object field)
           
 void ManyRelationResolver.expireCache(TransactionContext tx, Object field)
           
 void SerializableResolver.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
           
 void ResolverStrategy.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
          Load an object with specified identity from the persistent storage.
 void PersistanceCapableRelationResolver.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
           
 void ManyRelationResolver.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
           
 boolean ResolverStrategy.markCreate(TransactionContext tx, OID oid, Object object)
          Walk the object model and mark object that should be created.
 boolean PersistanceCapableRelationResolver.markCreate(TransactionContext tx, OID oid, Object object)
           
 boolean OneToManyRelationResolver.markCreate(TransactionContext tx, OID oid, Object object)
           
 boolean ManyToManyRelationResolver.markCreate(TransactionContext tx, OID oid, Object object)
           
abstract  boolean ManyRelationResolver.markCreate(TransactionContext tx, OID oid, Object object)
           
 void ResolverStrategy.markDelete(TransactionContext tx, Object object, Object field)
          Prepare to delete an object with the specified identity.
 void PersistanceCapableRelationResolver.markDelete(TransactionContext tx, Object object, Object field)
           
 void OneToManyRelationResolver.markDelete(TransactionContext tx, Object object, Object field)
           
 void ManyToManyRelationResolver.markDelete(TransactionContext tx, Object object, Object field)
           
abstract  void ManyRelationResolver.markDelete(TransactionContext tx, Object object, Object field)
           
 Object ResolverStrategy.postCreate(TransactionContext tx, OID oid, Object object, Object field, Identity createdId)
          Called after successful creation of an object of the base class.
 Object ManyToManyRelationResolver.postCreate(TransactionContext tx, OID oid, Object object, Object field, Identity createdId)
           
abstract  Object ManyRelationResolver.postCreate(TransactionContext tx, OID oid, Object object, Object field, Identity createdId)
           
 UpdateFlags SerializableResolver.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
           
 UpdateFlags ResolverStrategy.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
          Check the object for modification.
 UpdateFlags PersistanceCapableRelationResolver.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
           
 UpdateFlags OneToManyRelationResolver.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
           
 UpdateFlags ManyToManyRelationResolver.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
           
abstract  UpdateFlags ManyRelationResolver.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
           
 void SerializableResolver.revertObject(TransactionContext tx, OID oid, Object object, Object field)
           
 void ResolverStrategy.revertObject(TransactionContext tx, OID oid, Object object, Object field)
          Revert the object back to the state of begining of the transaction If the object is loaded, it will be revert as it was loaded.
 void PersistanceCapableRelationResolver.revertObject(TransactionContext tx, OID oid, Object object, Object field)
           
 void ManyRelationResolver.revertObject(TransactionContext tx, OID oid, Object object, Object field)
           
 Object SerializableResolver.store(TransactionContext tx, Object object, Object field)
           
 Object ResolverStrategy.store(TransactionContext tx, Object object, Object field)
          Store a data object into the persistent storage of the base class of this ClassMolder.
 void ResolverStrategy.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, Object field)
          Update the object which loaded or created in the other transaction to the persistent storage.
 void PersistanceCapableRelationResolver.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, Object field)
           
 void OneToManyRelationResolver.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, Object field)
           
 void ManyToManyRelationResolver.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, Object field)
           
abstract  void ManyRelationResolver.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, Object field)
           
 boolean SerializableResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode)
           
 boolean ResolverStrategy.updateWhenNoTimestampSet(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode)
          Update the object which loaded or created in the other transaction to the persistent storage.
 boolean PrimitiveResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode)
           
 boolean PersistanceCapableRelationResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode)
           
 boolean OneToManyRelationResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode)
           
 boolean ManyToManyRelationResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode)
           
 

Uses of PersistenceException in org.exolab.castor.jdo
 

Subclasses of PersistenceException in org.exolab.castor.jdo
 class ClassNotPersistenceCapableException
          Exception thrown to indicate objects of this class are not persistent capable.
 class ConnectionFailedException
          An attempt to open a JDBC connection failed.
 class DatabaseNotFoundException
          This exception is thrown when attempting to open a database that does not exist.
 class DuplicateIdentityException
          Exception indicating that a duplicate identity has been found and an object with the same identity already exists in persistent storage.
 class FatalPersistenceException
          A fatal exception indicates the persistence engine is no longer usable.
 class LockNotGrantedException
          Exception thrown when failed to acquire a lock on an object, a timeout occured waiting to acquire the lock, or a deadlock has been detected.
 class ObjectDeletedException
          This exception is thrown when accessing an object that was deleted.
 class ObjectModifiedException
          Indicates transaction has been aborted as a result of object being modified by a concurrent transaction.
 class ObjectNotFoundException
          An attempt to load an object failed, an object of that type with that primary key was not found in persistent storage.
 class ObjectNotPersistentException
          Exception indicating object is not persistent.
 class QueryException
          Reports an exception with the query, either syntax, query parameters or inability to perform the query against the persistence engine.
 class TransactionAbortedException
          Informs that the user transaction has been explicitly aborted by the database due to some failure and the reason for that failure.
 class TransactionNotInProgressException
          Indicates the operation cannot be performed since a transaction is not in progress.
 

Methods in org.exolab.castor.jdo that throw PersistenceException
 boolean QueryResults.absolute(int row)
          moves the result of the query to the absolute position in the resultset.
 void Database.begin()
          Begin a new transaction.
 void Database.close()
          Closes the database.
 void Database.create(Object object)
          Creates a new object in persistent storage.
 void OQLQuery.create(String query)
          Creates an OQL query from the supplied statement.
 QueryResults Query.execute()
          Execute the query.
 QueryResults Query.execute(AccessMode accessMode)
          Execute the query.
 QueryResults Query.execute(AccessMode accessMode, boolean scrollable)
          This is used for cursor support.
 QueryResults Query.execute(boolean scrollable)
          This is used for cursor support.
 void CacheManager.expireCache(Class type, Object identity)
          Expires a type with a specific identity from cache.
 void CacheManager.expireCache(Class type, Object[] identity)
          Expires a type with specific identities from cache.
 Database JDOManager.getDatabase()
          Opens and returns a connection to the database.
 Database JDO.getDatabase()
          Deprecated. Opens and returns a connection to the database.
 Database DataObjects.getDatabase()
          Opens and returns a connection to the database.
 Identity Database.getIdentity(Object object)
          Returns the object's identity.
 Connection Database.getJdbcConnection()
          Gets the underlying JDBC connection.
 OQLQuery Database.getNamedQuery(String name)
          Creates an OQL query based upon a named query as defined in the mapping file.
 OQLQuery Database.getNativeQuery(String sql, Class<?> result)
          Creates an OQL query instance based upon a native SQL query and a returning (resulting) class.
 OQLQuery Database.getOQLQuery(String oql)
          Creates an OQL query from the supplied statement.
 boolean QueryResults.hasMore()
          Returns true if there are any more results in the result set.
 boolean CacheManager.isCached(Class cls, Object identity)
          Indicates whether am instance of cls is currently cached.
 boolean Database.isLocked(Class cls, Object identity)
          Returns true if the specified object is currently locked.
<T> T
Database.load(Class<T> type, Object identity)
          Load an object of the specified type and given identity.
<T> T
Database.load(Class<T> type, Object identity, AccessMode mode)
           Load an object of the specified type and given identity.
<T> T
Database.load(Class<T> type, Object identity, Object object)
           Load an object of the specified type and given identity into a given instance of object.
 void Database.lock(Object object)
          Acquire a soft write lock on the object.
 Object QueryResults.next()
          Returns the next result in the result set.
 void Database.remove(Object object)
          Removes the object from persistent storage.
 int QueryResults.size()
          Finds the size of the resulting resultset from the query.
 void Database.update(Object object)
          Update a data object which is queried/loaded/created in another transaction.
 

Uses of PersistenceException in org.exolab.castor.jdo.engine
 

Methods in org.exolab.castor.jdo.engine that throw PersistenceException
 boolean SQLQuery.absolute(int row)
          Move to an absolute position within a ResultSet.
 boolean SimpleQueryExecutor.SimpleQueryResults.absolute(int row)
          use the jdbc 2.0 method to move to an absolute position in the resultset.
 void LocalDatabaseImpl.begin()
           
 void GlobalDatabaseImpl.begin()
           
abstract  void AbstractDatabaseImpl.begin()
          Begin a new transaction.
 void LocalDatabaseImpl.close()
           
 void GlobalDatabaseImpl.close()
           
abstract  void AbstractDatabaseImpl.close()
          Closes the database.
 Identity SQLEngine.create(Database database, Object conn, ProposedEntity entity, Identity identity)
           
 void AbstractDatabaseImpl.create(Object object)
          Creates a new object in persistent storage.
 void OQLQueryImpl.create(String oql)
           
 void SQLEngine.delete(Object conn, Identity identity)
           
 QueryResults OQLQueryImpl.execute()
           
 QueryResults OQLQueryImpl.execute(AccessMode accessMode)
           
 QueryResults OQLQueryImpl.execute(AccessMode accessMode, boolean scrollable)
           
 QueryResults OQLQueryImpl.execute(boolean scrollable)
           
 void SQLQuery.execute(Object conn, AccessMode accessMode, boolean scrollable)
           
 void SQLStatementLoad.executeStatement(Connection conn, Identity identity, ProposedEntity entity, AccessMode accessMode)
           
 void SQLQuery.fetch(ProposedEntity proposedObject)
           
 Identity AbstractDatabaseImpl.getIdentity(Object object)
          Returns the object's identity.
 Connection LocalDatabaseImpl.getJdbcConnection()
           
 Connection GlobalDatabaseImpl.getJdbcConnection()
           
abstract  Connection AbstractDatabaseImpl.getJdbcConnection()
          Gets the underlying JDBC connection.
 OQLQuery AbstractDatabaseImpl.getNamedQuery(String name)
          Creates an OQL query based upon a named query as defined in the mapping file.
 OQLQuery AbstractDatabaseImpl.getNativeQuery(String sql, Class<?> result)
          Creates an OQL query instance based upon a native SQL query and a returning (resulting) class.
 OQLQuery AbstractDatabaseImpl.getOQLQuery(String oql)
          Creates an OQL query from the supplied statement.
 boolean SimpleQueryExecutor.SimpleQueryResults.hasMore()
           
 boolean AbstractDatabaseImpl.isLocked(Class cls, Object identity)
          Returns true if the specified object is currently locked.
<T> T
AbstractDatabaseImpl.load(Class<T> type, Object identity)
          Load an object of the specified type and given identity.
<T> T
AbstractDatabaseImpl.load(Class<T> type, Object identity, AccessMode mode)
          

Load an object of the specified type and given identity.

<T> T
AbstractDatabaseImpl.load(Class<T> type, Object identity, Object object)
          

Load an object of the specified type and given identity into a given instance of object.

 void SQLEngine.load(Object conn, ProposedEntity entity, Identity identity, AccessMode accessMode)
          Loads the object from persistence storage.
 void AbstractDatabaseImpl.lock(Object object)
          Acquire a soft write lock on the object.
 Object SimpleQueryExecutor.SimpleQueryResults.next()
           
 Identity SQLQuery.nextIdentity(Identity identity)
           
 void AbstractDatabaseImpl.remove(Object object)
          Removes the object from persistent storage.
 int SQLQuery.size()
          Uses the underlying db's cursors to move to the last row in the result set, get the row number via getRow(), then move back to where ever the user was positioned in the resultset.
 int SimpleQueryExecutor.SimpleQueryResults.size()
          Uses the underlying db's cursors to most to the last row in the result set, get the row number via getRow(), then move back to where ever the user was positioned in the resultset.
 Object SQLEngine.store(Object conn, Identity identity, ProposedEntity newentity, ProposedEntity oldentity)
           
 void AbstractDatabaseImpl.update(Object object)
          Update a data object which is queried/loaded/created in another transaction.
 

Uses of PersistenceException in org.exolab.castor.jdo.oql
 

Subclasses of PersistenceException in org.exolab.castor.jdo.oql
 class InvalidCharException
          Exception thrown to indicate that an invalid character was encountered by the Lexer.
 class OQLSyntaxException
          Exception thrown to indicate that invalid syntax was encountered by the Parser.
 class SyntaxNotSupportedException
          Exception thrown to indicate that a feature is not supported by a particular database.
 

Uses of PersistenceException in org.exolab.castor.persist
 

Subclasses of PersistenceException in org.exolab.castor.persist
 class ObjectDeletedWaitingForLockException
          Thrown to indicate that a lock attempt has failed due to object being deleted by a concurrent transaction.
 

Methods in org.exolab.castor.persist that throw PersistenceException
 boolean QueryResults.absolute(int row)
           
 Identity ClassMolder.create(TransactionContext tx, OID oid, DepositBox locker, Object object)
          Create an object of the base class with specified identity into the persistence storage.
 OID LockEngine.create(TransactionContext tx, OID oid, Object object)
          Creates a new object in the persistence storage.
 void SQLRelationLoader.createRelation(Connection conn, Identity left, Identity right)
           
 void LockEngine.delete(TransactionContext tx, OID oid)
          Called at transaction commit time to delete the object.
 void ClassMolder.delete(TransactionContext tx, OID oid)
          Delete an object of the base type from the persistence storage.
 void SQLRelationLoader.deleteRelation(Connection conn, Identity left)
           
 void SQLRelationLoader.deleteRelation(Connection conn, Identity left, Identity right)
           
 void ClassMolder.expireCache(TransactionContext tx, ObjectLock locker)
          Inspect the fields stored in the object passed as an argument for contained objects.
 boolean LockEngine.expireCache(TransactionContext tx, OID oid, int timeout)
          Expire object from the cache.
 Object QueryResults.fetch()
          Loads the specified object with the identity.
 void LockEngine.load(AbstractTransactionContext tx, OID oid, ProposedEntity proposedObject, AccessMode suggestedAccessMode, int timeout, QueryResults results, ClassMolder molder)
          Loads an object of the specified type and identity from persistent storage.
 void ClassMolder.load(TransactionContext tx, DepositBox locker, ProposedEntity proposedObject, AccessMode accessMode, QueryResults results)
          Loads the field values.
 void ClassMolder.loadTimeStamp(TransactionContext tx, DepositBox locker, AccessMode suggestedAccessMode)
           
 void ClassMolder.markCreate(TransactionContext tx, OID oid, DepositBox locker, Object object)
          Walk the object model and mark object that should be created.
 void LockEngine.markCreate(TransactionContext tx, OID oid, Object object)
          Mark an object and its related or dependent object to be created.
 void ClassMolder.markDelete(TransactionContext tx, OID oid, DepositBox locker, Object object)
          Prepare to delete an object with the specified identity.
 void LockEngine.markDelete(TransactionContext tx, OID oid, Object object, int timeout)
           
 void ClassMolder.mold(TransactionContext tx, DepositBox locker, ProposedEntity proposedObject, AccessMode accessMode)
           
 Object QueryResults.nextIdentity()
          Returns the identity of the next object to be returned.
 boolean ClassMolder.preStore(TransactionContext tx, OID oid, DepositBox locker, Object object, int timeout)
          Check the object for modification.
 OID LockEngine.preStore(TransactionContext tx, OID oid, Object object, int timeout)
          Called at transaction commit to store an object that has been loaded during the transaction.
 void ClassMolder.revertObject(TransactionContext tx, OID oid, DepositBox locker, Object object)
          Revert the object back to the state of begining of the transaction If the object is loaded, it will be revert as it was loaded.
 void LockEngine.revertObject(TransactionContext tx, OID oid, Object object)
          Reverts an object to the cached copy given the object's OID.
 void ClassMolder.setIdentity(TransactionContext tx, Object object, Identity identity)
          Set the identity into an object.
 int QueryResults.size()
           
 void ClassMolder.store(TransactionContext tx, OID oid, DepositBox locker, Object object)
          Store a data object into the persistent storage of the base class of this ClassMolder.
 void LockEngine.store(TransactionContext tx, OID oid, Object object)
           
 boolean ClassMolder.update(TransactionContext tx, OID oid, DepositBox locker, Object object, AccessMode suggestedAccessMode)
          Update the object which loaded or created in the other transaction to the persistent storage.
 boolean LockEngine.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, int timeout)
          Updates an existing object to this engine.
 void LockEngine.writeLock(TransactionContext tx, OID oid, int timeout)
          Acquire a write lock on the object.
 

Uses of PersistenceException in org.exolab.castor.persist.spi
 

Methods in org.exolab.castor.persist.spi that throw PersistenceException
 boolean PersistenceQuery.absolute(int row)
          Moves the result of the query to the absolute position in the resultset.
 boolean AbstractCallQuery.absolute(int row)
           
 Identity Persistence.create(Database database, Object conn, ProposedEntity entity, Identity identity)
          Creates a new object in persistence storage.
 void Persistence.delete(Object conn, Identity identity)
          Deletes the object from persistent storage, given the object' identity.
protected abstract  void AbstractCallQuery.execute(Object conn, AccessMode accessMode)
           
 void PersistenceQuery.execute(Object conn, AccessMode accessMode, boolean scrollable)
          Execute the query with the give connection and lock type.
 void AbstractCallQuery.execute(Object conn, AccessMode accessMode, boolean scrollable)
           
 void PersistenceQuery.fetch(ProposedEntity proposedObject)
          Loades the object.
 void AbstractCallQuery.fetch(ProposedEntity proposedObject)
           
 void Persistence.load(Object conn, ProposedEntity proposedObject, Identity identity, AccessMode accessMode)
          Loads the object from persistence storage.
 Identity PersistenceQuery.nextIdentity(Identity identity)
          Returns the identity of the next object to be returned.
 Identity AbstractCallQuery.nextIdentity(Identity identity)
           
 int PersistenceQuery.size()
          Finds the size of the resulting resultset from the query.
 int AbstractCallQuery.size()
           
 Object Persistence.store(Object conn, Identity identity, ProposedEntity newentity, ProposedEntity oldentity)
          Stores the object in persistent storage, given the object fields and its identity.
 



Copyright © 2010. All Rights Reserved.