[jira] Created: (JDO-428) StateTransitionsReturnedObjects disallows
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Created: (JDO-428) StateTransitionsReturnedObjects disallows




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Created: (JDO-428) StateTransitionsReturnedObjects disallows  
Marc Prud'hommeaux (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-17-06 06:11 AM

StateTransitionsReturnedObjects disallows makePersistent() on a detached-cle
an instance from being hollow
----------------------------------------------------------------------------
-----------------------------

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


Element 10 (0-based) of the "makePersistent" array in org/apache/jdo/tck/lif
ecycle/StateTransitionsReturnedObjects.java asserts that a detached-clean in
stance passed to makePersistent() should have the resulting object be in the
 "persistent-clean" state.
However, section 12.6.7 of the JDO 2 spec merely says that: "During applicat
ion of changes of the detached state, if the JDO implementation can determin
e that there were no changes made during detachment, then the implementation
 is not required to mark th
e corresponding instance dirty." Based on this, it should be legal for the o
bject to be in either the hollow state as well as the persistent-clean state
.

The easiest fix, short of changing the test case to allow for multiple state
s, is to change element 10 from "PERSISTENT_CLEAN" to "IMPOSSIBLE", which wi
ll disable the state check altogether.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://iss
ues.apache.org/ji...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:57 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register