| Hi Michael, Good work on this. On Jan 17, 2006, at 9:01 AM, Michael Watzek wrote:
In the case of persistence by reachability, it might make sense to have a test that tests multiple objects. Assume an object graph where the name of the object reflects its state: detached1 refers to detached2 persistent1 is the result of makePersistent(detached1) and should have the same oid as detached1 persistent2 is referred to by persistent1 and should have the same oid as detached2 detached3 refers to transient4 persistent3 is the result of makePersistent(detached3) and should have the same oid as detached3 transient4 made a state change to persistent-new. Clearly this is a different style of test and probably should be a different test class (or at least a different test case)
Thanks, Craig
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! |
smime.p7s
Description: S/MIME cryptographic signature
