Apache JDO Project - [jira] Created: (JDO-424) StateTransitions makes undocumented

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > September 2006 > [jira] Created: (JDO-424) StateTransitions makes undocumented





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] Created: (JDO-424) StateTransitions makes undocumented
Marc Prud'hommeaux (JIRA)

2006-09-13, 1:11 am

StateTransitions makes undocumented assertions in detachCopy with active tx
---------------------------------------------------------------------------

Key: JDO-424
URL: http://issues.apache.org/jira/browse/JDO-424
Project: JDO
Issue Type: Bug
Components: tck20
Affects Versions: JDO 2 final
Reporter: Marc Prud'hommeaux


In StateTransitions.java, a couple of the transition assertions that are made in the "detachCopy with active tx" scenario are not documented:

Element 4 (0-based) asserts that HOLLOW will remain UNCHANGED when detachCopy() is called on them. However, this doesn't seem to be anywhere in the spec, and also doesn't seem right, since a hollow instance would need to instantiate its fields in order to
cascade the detach operation (subject to the setting of the DETACH_LOAD_FIELDS setting).

Element 9 asserts that a PERSISTENT_NONTRANSACTIONAL instance will remain unchanged. However, for the same reason as above, it might transition to persistent-clean due to reading a field.


--
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



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com