Package org.apache.jdo.tck.api.persistencemanager

Class Summary
AfterCloseAllMethodsThrowException Title: AfterCloseAllMethodsThrowException
Keywords: exception
Assertion IDs: A12.5-6
Assertion Description: After the PersistenceManager.close method completes, all methods on PersistenceManager except isClosed throw a JDOFatalUserException.
CallingEvictAllWithCollectionContainingNulls Title: Calling EvictAll With Collection Containing Nulls
Keywords: cache
Assertion IDs: A12.5-11
Assertion Description: Passing a non-null Object[] or Collection arguments to evictAll that contain null elements will have the documented behavior for non-null elements, and the null elements will be ignored.
CallingRefreshAllWithCollectionContainingNulls Title: Calling RefreshAll With Collection Containing Nulls
Keywords: cache
Assertion IDs: A12.5-12
Assertion Description: Passing a non-null Object[] or Collection arguments to refreshAll that contain null elements will have the documented behavior for non-null elements, and the null elements will be ignored.
ChangingObjectIdHasNoEffectOnInstance Title: Changing ObjectId Has No Effect On Instance
Keywords: identity
Assertion ID: A12.5.6-13.
CloseThrowsExceptionWhenActiveTx Title: Close Throws Exception
Keywords: exception
Assertion IDs: A12.6-2.
ConcurrentPersistenceManagers Title: Concurrent Persistence Managers
Keywords: concurrency multipleJDOimpls
Assertion ID: A5.2-1.
ConcurrentPersistenceManagersSameClasses Title: Same Classes with Concurrent Persistence Managers
Keywords: concurrency multipleJDOimpls
Assertion ID: A5.2-2.
CurrentTransaction Title: CurrentTransaction
Keywords:
Assertion ID: A12.5.2-1
Assertion Description: The PersistenceManager.currentTransaction method returns the Transaction instance associated with the PersistenceManager.
DeletePersistent Title: Delete Persistent
Keywords:
Assertion IDs: A12.5.7-9
Assertion Description: PersistenceManager.deletePersistent and deletePersistentAll delete a persistent instance(s) from the data store.
DeletePersistentAllFails Title: DeletePersistentAll Fails
Keywords: exception
Assertion IDs: A12.5.7-2.
DeletePersistentFailsIfInstanceIsTransient Title: DeletePersistent Fails If Instance Is Transient
Keywords: exception
Assertion IDs: A12.5.7-12.
DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager Title: DeletePersistent Fails If Instance Managed By Another PersistenceManager
Keywords: exception
Assertion IDs: A12.5.7-11.
DeletePersistentHasNoEffectOnDeletedInstances Title: DeletePersistent Has No Effect On Deleted Instances
Keywords:
Assertion IDs: A12.5.7-10.
EvictAllWithNoParameters Title: EvictAllWithNoParameters
Keywords: cache
Assertion IDs: A12.5.1-2
Assertion Description: If PersistenceManager.evict is called with no parameter, then all referenced instances are evicted.
EvictingCollectionOfInstancesSideEffects Title: EvictingCollectionOfInstancesSideEffects
Keywords: cache
Assertion IDs: A12.5.1-4
Assertion Description: If PersistenceManager.evict is called with no parameter, then all referenced instances are evicted.
EvictingWithRestoreValuesFalse Title: Evicting With RestoreValues False
Keywords: cache
Assertion ID: A12.6.1-1.
EvictingWithRetainValuesFalse Title: Evicting With RetainValues False
Keywords: cache
Assertion ID: A12.5.1-3.
GetExtentWithInstancesMadePersistentViaReachability Title: GetExtentWithInstancesMadePersistentViaReachability
Keywords: inheritance extent
Assertion ID: A12.5.4-1.
GetExtentWithNoSubclasses Title: GetExtentWithNoSubclasses
Keywords: inheritance extent
Assertion ID: A12.5.4-2.
GetExtentWithSubclasses Title: GetExtentWithSubclasses
Keywords: inheritance extent
Assertion ID: A12.5.4-3.
GetIgnoreCache Title: Get IgnoreCache Value from PersistenceManager
Keywords:
Assertion ID: A12.5.3-1.
GetObjectById Title: Get Object By Id
Keywords: identity cache
Assertion ID: A12.5.6-9.
GetObjectByIdNotResolved Title: Get ObjectId For Null Or Not Persistent
Keywords: identity
Assertion IDs: A12.5.6-1
Assertion Description: In a call to PersistenceManager.getObjectById, if the PersistenceManager is unable to resolve the oid parameter to an ObjectId instance, then it throws a JDOUserException.
GetObjectByIdNoValidationInstanceInCache Title: Get Object By Id No Validation, Instance In Cache
Keywords: identity cache
Assertion IDs: A12.5.6-2
Assertion Description: If PersistenceManager.getObjectById is called with a value of false for the second parameter named validate, and there is already an instance in the cache with the same JDO identity as the oid parameter, then this method returns it.
GetObjectByIdNoValidationInstanceInCacheNoStateChange Title: Get Object By Id No Validation, Instance In Cache, No State Change
Keywords: identity cache lifecycle
Assertion IDs: A12.5.6-3
Assertion Description: If PersistenceManager.getObjectById is called with a value of false for the second parameter named validate, and there is already an instance in the cache with the same JDO identity as the oid parameter, there is no change made to the state of the returned instance.
GetObjectByIdNoValidationInstanceNotInCache Title: Get Object By Id No Validation Instance Not In Cache
Keywords: identity cache
Assertion IDs: A12.5.6-5
Assertion Description: If PersistenceManager.getObjectById is called with a value of false for the second parameter named validate, and there is not an instance already in the cache with the same JDO identity as the oid parameter, and there is a transaction in progress, then this method creates an instance with the specified JDO identity and returns it with a state of hollow, persistent-nontransactional, or persistent-clean, at the choice of the implementation.
GetObjectByIdNoValidationInstanceNotInCacheNoTx Title: Get Object By Id No Validation Instance Not In Cache, No Tx
Keywords: identity cache
Assertion IDs: A12.5.6-4
Assertion Description: If PersistenceManager.getObjectById is called with a value of false for the second parameter named validate, and there is not an instance already in the cache with the same JDO identity as the oid parameter, and there is no transaction in progress, then this method creates an instance with the specified JDO identity and returns it with a state of hollow or persistent-nontransactional, at the choice of the implementation.
GetObjectByIdNoValidationInstanceNotInDatastore Title: Get Object By Id No Validation Instance Not In Datastore
Keywords: identity exception
Assertion ID: A12.5.6-6.
GetObjectByIdWithValidationInstanceInCache Title: Get Object By Id With Validation Instance in Cache
Keywords: identity cache
Assertion IDs: A12.5.6-7
Assertion Description: If PersistenceManager.getObjectById is called with a value of true for the second parameter named validate, and there is already a transactional instance in the cache with the same JDO identity as the oid parameter, then this method returns it.
GetObjectByIdWithValidationInstanceInCacheNotInDatastore Title: Get Object By Id With Validation, Instance in Cache, Not in Datastore
Keywords: identity cache
Assertion IDs: A12.5.6-8.
GetObjectByIdWithValidationInstanceNotInCacheNotInDatastore Title: Get Object By Id With Validation, Instance Not in Cache, Not in Datastore
Keywords: exception
Assertion IDs: A12.6.5-2.
GetObjectId Title: Get Objectid
Keywords: identity
Assertion ID: A12.5.6-10
Assertion Description: The PersistenceManager.getObjectId method returns an ObjectId instance that re presents the object identity of the specified JDO Instance.
GetObjectIdClass Title: Get ObjectId Class
Keywords: identity
Assertion IDs: A12.10-1
Assertion Description: The method PersistenceManager.getObjectIdClass returns the class of the object id for the given class.
GetObjectIdClassForAbstractOrNonPersistenceCapableClass Title: Get ObjectId Class For Abstract or Non-PersistenceCapable Class
Keywords: identity
Assertion IDs: A12.10-2
Assertion Description: A call to PersistenceManager.getObjectIdClass returns null if the class is abstract or not persistence-capable, or the parameter is null.
GetObjectIdForNullOrNotPersistent Title: GetObjectIdForNullOrNotPersistent
Keywords: identity
Assertion IDs: A12.5.6-14.
GetObjectIdWithApplicationModifyingIdentity Title: Get ObjectId With Application Modifying Identity
Keywords: identity applicationidentity
Assertion ID: A12.5.6-11.
GetPersistenceManagerFactory Title: Get PersistenceManagerFactory
Keywords:
Assertion ID: A12.9-1.
GetSetUserObject Title: Get/Set User Object
Keywords:
Assertion ID: A12.8-1.
GetTransactionalObjectIdWhenObjectIdBeingChanged Title: Get Transactional ObjectId When ObjectId Being Changed
Keywords: identity applicationidentity
Assertion ID: A12.5.6-15.
GetTransactionalObjectIdWithNoTransaction Title: Get Transactional ObjectId With No Transaction
Keywords: identity
Assertion ID: A12.5.6-16
Assertion Description: If there is no transaction in progress, or if none of the key fields is being modified, then PersistenceManager.getTransactionalObjectId has the same behavior as getObjectId.
IsClosedIsFalseUponConstruction Title: Is Closed returns false Upon Construction
Keywords:
Assertion IDs: A12.5-3
Assertion Description: The PersistenceManager.isClosed method returns false upon construction of the PersistenceManager instance.
IsClosedIsFalseUponRetrievalFromPool Title: Is Closed Is False Upon Retrieval From a Pool
Keywords:
Assertion IDs: A12.5-4
Assertion Description: The PersistenceManager.isClosed method returns false upon retrieval of a PersistenceManager from a pool.
IsClosedIsTrueAfterClose Title: Is Closed Is True After Close
Keywords:
Assertion IDs: A12.5-5
Assertion Description: The PersistenceManager.isClosed method returns true only after the closemethod completes successfully, meaning the PersistenceManager has been closed.
MakeNontransactionalAllFails Title: MakeNontransactionalAllFails
Keywords: exception
Assertion ID: A12.5.7-5
Assertion Description: If a collection or array of instances is passed to PersistenceManager.makeNontransactionalAll, and one or more of the instances fail to complete the required operation, then all instances will be attempted, and a JDOUserException will be thrown which contains a nested exception array, each exception of which contains one of the failing instances.
MakeNontransactionalDirtyInstance Title: Make Nontransactional a Dirty Instance
Keywords: exception
Assertion IDs: A12.5.7-28
Assertion Description: If PersistenceManager.makeNontransactional or makeNontransactionalAll is called with an explicit dirty parameter instance, a JDOUserException is thrown.
MakeNontransactionalIsImmediate Title: Make Nontransactional is immediate
Keywords:
Assertion IDs: A12.5.7-29
Assertion Description: The effect of PersistenceManager.makeNontransactional or makeNontransactionalAll is immediate and not subject to rollback.
MakeNontransactionalPersistentCleanInstance Title: Make Nontransactional a Persistent-Clean Instance
Keywords: lifecycle
Assertion IDs: A12.5.7-27
Assertion Description: PersistenceManager.makeNontransactional and makeNontransactionalAll makes a persistent-clean instance nontransactional and causes a state transition to persistent-nontransactional.
MakeNontransactionalTransientCleanInstance Title: MakeNontransactionalTransientCleanInstance
Keywords: lifecycle
Assertion IDs: A12.5.7-26
Assertion Description: PersistenceManager.makeNontransactional and makeNontransactionalAll makes a transient-clean instance nontransactional and causes a state transition to transient.
MakePersistent Title: make instance persistent
Keywords: persistencemanager
Assertion IDs: A12.5.7-6A
Assertion Description: The method PersistenceManager.makePersistent and makePersistentAll makes a transient instance(s) persistent directly.
MakePersistentAllFails Title: MakePersistentAll Fails
Keywords: exception
Assertion IDs: A12.5.7-1.
MakePersistentAndInstancesNotReachable Title: MakePersistent And Instances Not Reachable
Keywords:
Assertion ID: A12.5.7-6C.
MakePersistentAssignsObjectId Title: make instance persistent
Keywords: identity
Assertion IDs: A12.5.7-6B
Assertion Description: The method PersistenceManager.makePersistent and makePersistentAll will assign an object identity to the instance and transitions it to persistent-new.
MakePersistentFailsIfInstanceManagedByAnotherPersistenceManager Title: MakePersistent Fails If Instance Managed By Another PersistenceManager
Keywords: exception
Assertion IDs: A12.5.7-8.
MakePersistentHasNoEffectOnPersistentInstances Title: MakePersistent Has No Effect On Persistent Instances
Keywords:
Assertion IDs: A12.5.7-7.
MakeTransactional Title: MakeTransactional
Keywords: transienttransactional lifecycle
Assertion IDs: A12.5.7-20
Assertion Description: PersistenceManager.makeTransactional and makeTransactionalAll makes a transient instance transactional and causes a state transition to transient-clean.
MakeTransactionalAllFails Title: MakeTransactionalAllFails
Keywords: exception
Assertion ID: A12.5.7-4
Assertion Description: If a collection or array of instances is passed to PersistenceManager.makeTransactionalAll, and one or more of the instances fail to complete the required o peration, then all instances will be attempted, and a JDOUserException will be thrown which contains a nested exception array, each exception of which conta ins one of the failing instances.
MakeTransactionalANontransactionalPersistentInstance Title: Make Transactional A Persistent Nontransactional Instance
Keywords: persistentnontransactional
Assertion IDs: A12.5.7-24
Assertion Description: PersistenceManager.makeTransactional and makeTransactionalAll can be used to mark a nontransactional persistent instance as being part of the read-consistency set of the transaction.
MakeTransactionalIsImmediate Title: Make Nontransactional is immediate
Keywords:
Assertion IDs: A12.5.7-25
Assertion Description: The effect of PersistenceManager.makeTransactional or makeTransactionalAll is immediate and not subject to rollback.
MakeTransactionalPriorToTransactionRolledback Title: MakeTransactional Prior To a Transaction Rolledback
Keywords:
Assertion IDs: A12.5.7-23
Assertion Description: If the transaction in which an instance is made transactional (by calling PersistenceManager.makeTransactional or makeTransactionalAll) is rolled back, then the transient instance takes its values as of the beginning of the transaction, if the call to makeTransactional was made prior to the beginning of the current transaction.
MakeTransactionalWithinTransactionRolledback Title: MakeTransactionalWithinTransactionRolledback
Keywords: transienttransactional
Assertion IDs: A12.5.7-22
Assertion Description: If the transaction in which an instance is made transactional (by calling PersistenceManager.makeTransactional or makeTransactionalAll) is rolled back, then the transient instance takes its values as of the call to makeTransactional if the call was made within the current transaction.
MakeTransient Title: MakeTransient
Keywords: transient
Assertion IDs: A12.5.7-13
Assertion Description: PersistenceManager.makeTransient and makeTransientAll make a persistent instance transient, so it is not associated with the PersistenceManager instance.
MakeTransientAllFails Title:MakeTransientAll Fail
Keywords: exception
Assertion IDs: A12.5.7-3
Assertion Description: If a collection or array of instances is passed to PersistenceManager.makeTransientAll, and one or more of the instances fail to complete the required operation, then all instances will be attempted, and a JDOUserException will be thrown which contains a nested exception array, each exception of which contains one of the failing instances.
MakeTransientCausesLossOfIdentity Title: MakeTransientCausesLossOfIdentity
Keywords: transient identity
Assertion IDs: A12.5.7-14
Assertion Description: PersistenceManager.makeTransient and makeTransientAll transition an instance to transient, causing it to lose its JDO identity.
MakeTransientFailsWithDirtyInstance Title:MakeTransientFailsWithDirtyInstance
Keywords: exception
Assertion IDs: A12.5.7-16
Assertion Description: If the instance passed to PersistenceManager.makeTransient or makeTransientAll is dirty, a JDOUserException is thrown.
MakeTransientFieldsPreservedUnchanged Title: MakeTransient Fields Preserved Unchanged
Keywords: transient
Assertion IDs: A12.5.7-15, A12.5.7-18
Assertion Description: If the instance passed to PersistenceManager.makeTransient or makeTransientAll has field values (persistent-nontransactional or persistent-clean), the fields in the cache are preserved unchanged.
MakeTransientHasNoEffectOnTransientInstances Title: MakeTransientHasNoEffectOnTransientInstances
Keywords: transient
Assertion IDs: A12.5.7-19
Assertion Description: PersistenceManager.makeTransient and makeTransientAll have no effect if the parameter instance is transient.
MakeTransientNotSubjectToRollback Title: MakeTransientNotSubjectToRollback
Keywords:
Assertion IDs: A12.5.7-17
Assertion Description: The effect of PersistenceManager.makeTransient or makeTransientAll is immediate and not subject to rollback.
NoPersistenceManagerIfTransient Title: No PersistenceManager If Transient
Keywords: transient
Assertion ID: A12.5-1.
ObjectIdUniqueAmongInstances Title: ObjectId Unique Among Instances
Keywords: identity
Assertion ID: A12.5.6-12.
OneInstanceOfObjectPerPersistenceManager Title: Only one instance of persistent object in cache per PersistenceManager
Keywords: cache
Assertion ID: A5.4-2.
OnePersistenceManagerIfPersistentOrTransactional Title: One PersistenceManager If Persistent or Transactional
Keywords:
Assertion ID: A12.5-2.
OptimisticFailure Title: OptimisticFailure
Keywords: optimistic
Assertion IDs: A13.5-1
Assertion Description: If any instance fails the verification, a JDOOptimisticVerificationException is thrown which contains an array of JDOOptimisticVerificationException, one for each instance that failed the verification.
PassingNullToEvictAllThrowsException Title: PassingNullToEvictAllThrowsException
Keywords:
Assertion IDs: A12.5-9
Assertion Description: Passing a null valued argument to evictAll will throw a NullPointerException.
PassingNullToEvictHasNoEffect Title: PassingNullToEvictHasNoEffect
Keywords:
Assertion IDs: A12.5-7
Assertion Description: Passing a null value to PersistenceManager.evict will have no effect.
PassingNullToRefreshAllThrowsException Title: Passing Null to RefreshAll Throws Exception
Keywords: cache
Assertion IDs: A12.5-10.
PassingNullToRefreshHasNoEffect Title: Passing Null to Refresh has no Effect
Keywords:
Assertion IDs: A12.5-8
Assertion Description: Passing a null value to PersistenceManager.refresh will have no effect.
PersistenceManagerTest  
RefreshAllNoParameterSideEffects  
RefreshAllWithArraySideEffects  
RefreshAllWithCollectionSideEffects  
RefreshAllWithNoParameters Title: Refresh All With No Parameters
Keywords: cache
Assertion ID: A12.5.1-6.
RefreshSideEffects  
Retrieve Title: Retrieve
Keywords: cache
Assertion IDs: A12.6.1-2, A12.6.1-5
Assertion Description: These methods request the PersistenceManager to load all persistent fields into the parameter instances.
SameTransactionInstanceForAllCallsToCurrentTransaction Title: Same Transaction Instance For All Calls To Current Transaction
Keywords:
Assertion ID: A12.5.2-2.
SetIgnoreCacheToFalse Title: Set IgnoreCache To False
Keywords:cache
Assertion ID: A12.5.3-3.
SetIgnoreCacheToTrue Title: Set IgnoreCache To True
Keywords:cache
Assertion ID: A12.5.3-2.
SetMultithreadedFalse Title: Set Multithreaded False
Keywords: multithreaded
Assertion ID: A12.7-2.
SetMultithreadedTrue Title: Set Multithreaded True
Keywords: multithreaded
Assertion ID: A12.7-1.
SettingFlagsWithTransactionInstance Title: Setting Flags With Transaction instance
Keywords:
Assertion ID: A12.5.2-3.
ThreadSafe Title: Thread Safe
Keywords: multithreaded
Assertion ID: A12.4-1.
TransientTransactionalInstanceRetainsValuesAtCommit Title: Transient Transactional Instance Retains Values At Commit
Keywords: transienttransactional
Assertion ID: A12.5.7-21
Assertion Description: If the transaction in which an instance is made transactional (by calling PersistenceManager.makeTransactional or makeTransactionalAll) commits, then the transient instance retains its values.
 



Copyright © 2005 Apache Software Foundation. All Rights Reserved.