Uses of Class
org.apache.jdo.tck.api.persistencemanager.PersistenceManagerTest

Packages that use PersistenceManagerTest
org.apache.jdo.tck.api.persistencemanager   
 

Uses of PersistenceManagerTest in org.apache.jdo.tck.api.persistencemanager
 

Subclasses of PersistenceManagerTest in org.apache.jdo.tck.api.persistencemanager
 class 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.
 class 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.
 class 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.
 class ChangingObjectIdHasNoEffectOnInstance
          Title: Changing ObjectId Has No Effect On Instance
Keywords: identity
Assertion ID: A12.5.6-13.
 class CloseThrowsExceptionWhenActiveTx
          Title: Close Throws Exception
Keywords: exception
Assertion IDs: A12.6-2.
 class ConcurrentPersistenceManagersSameClasses
          Title: Same Classes with Concurrent Persistence Managers
Keywords: concurrency multipleJDOimpls
Assertion ID: A5.2-2.
 class CurrentTransaction
          Title: CurrentTransaction
Keywords:
Assertion ID: A12.5.2-1
Assertion Description: The PersistenceManager.currentTransaction method returns the Transaction instance associated with the PersistenceManager.
 class 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.
 class DeletePersistentAllFails
          Title: DeletePersistentAll Fails
Keywords: exception
Assertion IDs: A12.5.7-2.
 class DeletePersistentFailsIfInstanceIsTransient
          Title: DeletePersistent Fails If Instance Is Transient
Keywords: exception
Assertion IDs: A12.5.7-12.
 class DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager
          Title: DeletePersistent Fails If Instance Managed By Another PersistenceManager
Keywords: exception
Assertion IDs: A12.5.7-11.
 class DeletePersistentHasNoEffectOnDeletedInstances
          Title: DeletePersistent Has No Effect On Deleted Instances
Keywords:
Assertion IDs: A12.5.7-10.
 class 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.
 class 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.
 class EvictingWithRestoreValuesFalse
          Title: Evicting With RestoreValues False
Keywords: cache
Assertion ID: A12.6.1-1.
 class EvictingWithRetainValuesFalse
          Title: Evicting With RetainValues False
Keywords: cache
Assertion ID: A12.5.1-3.
 class GetExtentWithInstancesMadePersistentViaReachability
          Title: GetExtentWithInstancesMadePersistentViaReachability
Keywords: inheritance extent
Assertion ID: A12.5.4-1.
 class GetExtentWithNoSubclasses
          Title: GetExtentWithNoSubclasses
Keywords: inheritance extent
Assertion ID: A12.5.4-2.
 class GetExtentWithSubclasses
          Title: GetExtentWithSubclasses
Keywords: inheritance extent
Assertion ID: A12.5.4-3.
 class GetIgnoreCache
          Title: Get IgnoreCache Value from PersistenceManager
Keywords:
Assertion ID: A12.5.3-1.
 class GetObjectById
          Title: Get Object By Id
Keywords: identity cache
Assertion ID: A12.5.6-9.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class GetObjectByIdNoValidationInstanceNotInDatastore
          Title: Get Object By Id No Validation Instance Not In Datastore
Keywords: identity exception
Assertion ID: A12.5.6-6.
 class 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.
 class GetObjectByIdWithValidationInstanceInCacheNotInDatastore
          Title: Get Object By Id With Validation, Instance in Cache, Not in Datastore
Keywords: identity cache
Assertion IDs: A12.5.6-8.
 class GetObjectByIdWithValidationInstanceNotInCacheNotInDatastore
          Title: Get Object By Id With Validation, Instance Not in Cache, Not in Datastore
Keywords: exception
Assertion IDs: A12.6.5-2.
 class 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.
 class 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.
 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.
 class GetObjectIdForNullOrNotPersistent
          Title: GetObjectIdForNullOrNotPersistent
Keywords: identity
Assertion IDs: A12.5.6-14.
 class GetObjectIdWithApplicationModifyingIdentity
          Title: Get ObjectId With Application Modifying Identity
Keywords: identity applicationidentity
Assertion ID: A12.5.6-11.
 class GetPersistenceManagerFactory
          Title: Get PersistenceManagerFactory
Keywords:
Assertion ID: A12.9-1.
 class GetSetUserObject
          Title: Get/Set User Object
Keywords:
Assertion ID: A12.8-1.
 class GetTransactionalObjectIdWhenObjectIdBeingChanged
          Title: Get Transactional ObjectId When ObjectId Being Changed
Keywords: identity applicationidentity
Assertion ID: A12.5.6-15.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class MakePersistentAllFails
          Title: MakePersistentAll Fails
Keywords: exception
Assertion IDs: A12.5.7-1.
 class MakePersistentAndInstancesNotReachable
          Title: MakePersistent And Instances Not Reachable
Keywords:
Assertion ID: A12.5.7-6C.
 class 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.
 class MakePersistentFailsIfInstanceManagedByAnotherPersistenceManager
          Title: MakePersistent Fails If Instance Managed By Another PersistenceManager
Keywords: exception
Assertion IDs: A12.5.7-8.
 class MakePersistentHasNoEffectOnPersistentInstances
          Title: MakePersistent Has No Effect On Persistent Instances
Keywords:
Assertion IDs: A12.5.7-7.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class 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.
 class ObjectIdUniqueAmongInstances
          Title: ObjectId Unique Among Instances
Keywords: identity
Assertion ID: A12.5.6-12.
 class OneInstanceOfObjectPerPersistenceManager
          Title: Only one instance of persistent object in cache per PersistenceManager
Keywords: cache
Assertion ID: A5.4-2.
 class 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.
 class PassingNullToEvictAllThrowsException
          Title: PassingNullToEvictAllThrowsException
Keywords:
Assertion IDs: A12.5-9
Assertion Description: Passing a null valued argument to evictAll will throw a NullPointerException.
 class PassingNullToEvictHasNoEffect
          Title: PassingNullToEvictHasNoEffect
Keywords:
Assertion IDs: A12.5-7
Assertion Description: Passing a null value to PersistenceManager.evict will have no effect.
 class PassingNullToRefreshAllThrowsException
          Title: Passing Null to RefreshAll Throws Exception
Keywords: cache
Assertion IDs: A12.5-10.
 class 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.
 class RefreshAllNoParameterSideEffects
           
 class RefreshAllWithArraySideEffects
           
 class RefreshAllWithCollectionSideEffects
           
 class RefreshAllWithNoParameters
          Title: Refresh All With No Parameters
Keywords: cache
Assertion ID: A12.5.1-6.
 class RefreshSideEffects
           
 class 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.
 class SetIgnoreCacheToFalse
          Title: Set IgnoreCache To False
Keywords:cache
Assertion ID: A12.5.3-3.
 class SetIgnoreCacheToTrue
          Title: Set IgnoreCache To True
Keywords:cache
Assertion ID: A12.5.3-2.
 class SetMultithreadedFalse
          Title: Set Multithreaded False
Keywords: multithreaded
Assertion ID: A12.7-2.
 class SetMultithreadedTrue
          Title: Set Multithreaded True
Keywords: multithreaded
Assertion ID: A12.7-1.
 class SettingFlagsWithTransactionInstance
          Title: Setting Flags With Transaction instance
Keywords:
Assertion ID: A12.5.2-3.
 class ThreadSafe
          Title: Thread Safe
Keywords: multithreaded
Assertion ID: A12.4-1.
 class 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.