|
Home > Archive > Apache JDO Project > March 2006 > [jira] Commented: (JDO-347) JPOX fails some lifecycle tests
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[jira] Commented: (JDO-347) JPOX fails some lifecycle tests
|
|
| Craig Russell (JIRA) 2006-03-27, 7:47 am |
| [ http://issues.apache.org/jira/brows...action_12371870 ]
Craig Russell commented on JDO-347:
-----------------------------------
The transient clean state is not persistent. It has no object id. When it's serialized, it should have no detached state. When jdoPreSerialize is executed, the StateManager should not create a detached state. When the instance is deserialized, it should s
till have no detached state. Unlike detachCopy, which makes the object graph persistent, serialize doesn't make transient instances persistent.
> JPOX fails some lifecycle tests
> -------------------------------
>
> Key: JDO-347
> URL: http://issues.apache.org/jira/browse/JDO-347
> Project: JDO
> Type: Bug
> Components: tck20
> Reporter: Martin Zaun
> Attachments: errors_state_transition_argument_instanc
es.txt, errors_state_transition_returned_instanc
es.txt
>
> The integration of fixes for JDO-273 and JDO-258 has added (and fixed) a number of lifecycle test cases that are
> failed by JPOX. See attached error messages.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
| |
| Andy Jefferson 2006-03-27, 7:47 am |
| Hi Craig,
> Craig Russell commented on JDO-347:
> -----------------------------------
> The transient clean state is not persistent. It has no object id.
> When it's serialized, it should have no detached state.
> When jdoPreSerialize is executed, the StateManager should not create a detached
state.
> When the instance is deserialized, it should still have no detached state.
> Unlike detachCopy, which makes the object graph persistent, serialize doesn't
> make transient instances persistent.
Thanks. Makes sense now. Another 8 state transitions fixed in JPOX CVS.
--
Andy
|
|
|
|
|