|
[
Permlink
| « Hide
]
Craig Russell added a comment - 19/Oct/05 12:54 AM
This appears to be a JPOX bug.
Craig Russell made changes - 19/Oct/05 12:54 AM
Actually was an issue in InstanceCallbacks and not InstanceLifecycleListener. JPOX CVS now uses the objects the other way around on the postDetach and that part of the test passes. The issue about
[java] Sequence verification failed for PRE_DETACH_LISTENER; expected: <1> actual: <2> [java] [java] Sequence verification failed for PRE_DETACH_CALLBACK; expected: <2> actual: <1> [java] remains. This is down to the TCK test making the assumption that the callback will appear before the lifecycle listener. Where is this specifed in the JDO2 spec ? If there's no reference in the spec then it can't be imposed in the TCK.
Andy Jefferson made changes - 22/Oct/05 04:53 PM
JPOX CVS is now updated to match Craigs' proposed spec change
<proposed> package javax.jdo.listener; public interface DetachLifecycleListener extends InstanceLifecycleListener { A12.15-11 [void preDetach(InstanceLifecycleEvent event); } This method is called before a persistent instance is copied for detachment.] It is called before the jdoPreDetach callback. A12.15-12 [void postDetach(InstanceLifecycleEvent event); } This method is called whenever a persistent instance is copied for detachment. The source instance is the detached copy; the target instance is the persistent instance. It is called after the jdoPostDetach callback on the detached copy.] </proposed> and the test now passes
Andy Jefferson made changes - 23/Oct/05 05:19 AM
The latest JPOX snapshot fixes the issue.
Craig Russell made changes - 25/Oct/05 12:11 AM
Reopened to set the Fix Version/s field to JDO 2 beta.
Michael Bouschen made changes - 23/Apr/06 03:08 AM
Michael Bouschen made changes - 23/Apr/06 03:10 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||