[jira] Commented: (JDO-409) IsTransactionalFalse makes invalid
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] Commented: (JDO-409) IsTransactionalFalse makes invalid




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

    [jira] Commented: (JDO-409) IsTransactionalFalse makes invalid  
Ilan Kirsh (JIRA)


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


 
08-30-06 06:11 AM

[ [url]http://issues.apache.org/jira/browse/JDO-409?page=comments#action_12431434[/
url] ]

Ilan Kirsh commented on JDO-409:
--------------------------------

I believe the title should be "IsTransactionalFalse makes invalid assumption
 that transaction is datastore" and that this issue duplicates JDO-400 that 
had already been fixed.

> IsTransactionalFalse makes invalid assumption that transaction is optimist
ic
> --------------------------------------------------------------------------
--
>
>                 Key: JDO-409
>                 URL: http://issues.apache.org/jira/browse/JDO-409
>             Project: JDO
>          Issue Type: Bug
>          Components: tck20
>    Affects Versions: JDO 2 final
>            Reporter: Marc Prud'hommeaux
>
> The test IsTransactionalFalse.testIsTransactionalFalse mandates that an instance w
ill be persistent-clean after a field is accessed in a transaction. However, when th
e transaction type is optimistic, it is also valid for the instance to be persistent
-no
ntransactional after a field access.
> The test can be fixed by ensuring that the transaction is a datastore tran
saction. E.g.:
>     public void testIsTransactionalFalse() {
>         pm = getPM();
>         Transaction tx = pm.currentTransaction();
>         tx.setOptimistic(false); // make sure the transaction is not optim
isitic
>         tx.begin();

--
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 09:14 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