Home » jdo2-tck-2.3-ea-src » org.apache.jdo.tck » api » persistencemanager » detach »

org.apache.jdo.tck.api.persistencemanager.detach

Abstract Classes:

DetachTest     code | html

Classes:

CopyOnAttachFalse   Title: Test DetachAttach
Keywords: makePersistent detach
Assertion IDs:
Assertion Description: A12.6.8-29 [If the CopyOnAttach property is false, then the instance itself is transitioned to persistent-clean for datastore transactions or persistent-nontransactional for optimistic transactions. 
code | html
DetachAccessUnloadedField   Title: Test DetachCopy
Keywords: detachCopy detach
Assertion IDs: A12.6.8-21
Assertion Description: While detached, any field access to a field that was not loaded throws JDODetachedFieldAccessException. 
code | html
DetachAllOnCommit   Title: Test DetachAllOnCommit
Keywords: DetachAllOnCommit detach
Assertion IDs: A12.6.8-3
Assertion Description: With this flag set to true, during beforeCompletion all cached instances are prepared for detachment according to the fetch plan in effect at commit. 
code | html
DetachAttach   Title: Test DetachAttach
Keywords: makePersistent detach
Assertion IDs:
Assertion Description: For a detached instance, they locate or create a persistent instance with the same JDO identity as the detached instance 
code | html
DetachAttachDirty   Title: Test DetachAttach
Keywords: makePersistent detach dirty
Assertion IDs: A12.6.8-26
Assertion Description: For a detached instance, they locate or create a persistent instance with the same JDO identity as the detached instance, and merge the persistent state of the detached instance into the persistent instance. 
code | html
DetachCopy   Title: Test DetachCopy
Keywords: detachCopy detach
Assertion IDs: A12.6.8-13, A12.6.8-18, A12.6.8-19, A12.6.8-20
Assertion Description: For each instance in the parameter Collection, a corresponding detached copy is returned. 
code | html
DetachSerialize   Title: Test DetachSerialize
Keywords: serialize detach
Assertion IDs: A12.6.8-4, A12.6.8-5
Assertion Description: The JDO 1.0 specification requires that serialized instances be made ready for serialization by instantiating all serializable persistent fields before calling writeObject. 
code | html
DetachUndetachable   Title: Test DetachUndetachable
Keywords: detachCopy detach detachable
Assertion IDs: A12.6.8-32
Assertion Description: Instances to be detached that are not of a Detachable class are detached as transient instances. 
code | html
SetDetachAllOnCommit   Title: Test SetDetachAllOnCommit
Keywords: DetachAllOnCommit commit detach
Assertion IDs: A12.6.8-1, A12.6.8-2
Assertion Description: We define a new property called DetachAllOnCommit PersistenceManager.setDetachAllOnCommit(boolean detachAllOnCommit) sets the DetachAllOnCommit property PersistenceManager.getDetachAllOnCommit() The value of the DetachAllOnCommit flag is returned. 
code | html