Questions wrt lifecycle transitions
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 > Questions wrt lifecycle transitions




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

    Questions wrt lifecycle transitions  
Michael Watzek


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


 
01-20-06 10:45 PM

Hi Craig,

I have some questions wrt lifecycle transitions. Please see below:

1) Does pm.detachCopy(persistent-nontransactional-dirty) throw an exception?

2) How does a non-transactional-dirty instance transition at commit time
when DetachAllOnCommit is true?

3) Does pm.makeTransient(persistent-nontransactional-dirty) throw an
exception?

4) At commit time a non-transactional-dirty instance transitions to
hollow when DetachAllOnCommit is false and RestoreValues is false. As a
consequence, the changes made before begin are lost. Is this intentional?

5) At commit time flushing a non-transactional-dirty instance may result
in a concurrency conflict for optimistic transactions because the spec
requires a version check. For datastore transactions commit would be
successful. Non-transactional-dirty seems to be the only state where
both transaction types have different semantics wrt concurreny
conflicts. Is this intentional?

Regards,
Michael
--
-------------------------------------------------------------------
Michael Watzek                  Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------






[ Post a follow-up to this message ]



    Re: Questions wrt lifecycle transitions  
Craig L Russell


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


 
01-22-06 10:46 PM






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:36 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