[gme-users] Nested transactions
James H. Hill
hillj at cs.iupui.edu
Thu Aug 5 07:52:47 CDT 2010
Hi Peter,
Ah, I see. Thanks for the quick reply.
Are there any plans to make sure a feature available in interpreters? I
can see a case were you may have an interpreter that:
. starts a root transactions
. makes incremental updates to the model in nested transactions
. commits its current modifications to force the *add-on* to execute
. commits root transactions once everything is complete
I would think that nested transactions would make this use cause much
easier to implement without *duplicating* a LOT of code. Or, do you know
a workaround for *emulating* nested transactions in interpreters to
prevent duplicating a LOT of code or causing tight coupling of code?!
Thanks,
James
On 8/5/10 8:42 AM, Peter Volgyesi wrote:
> Nested transactions are used only inside MGA (to implement add-on
> notifications in which add-on can further modify the models).
> --
> peter
>
>
>
> On Wed, Aug 4, 2010 at 5:23 PM, James H. Hill<hillj at cs.iupui.edu> wrote:
>> Hi,
>>
>> Does anyone know if GME supports nested transactions in it's
>> interpreters, and how to do so?!
>>
>> I see that there is an enumeration value TRANSACTION_NON_NESTED, but
>> there is no TRANSACTION_NESTED value. I only see TRANSACTION_GENERAL,
>> which seems to not support nested transactions.
>>
>> Any help would be greatly appreciated.
>>
>> Thanks,
>>
>> James
>> _______________________________________________
>> gme-users mailing list
>> gme-users at list.isis.vanderbilt.edu
>> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>>
More information about the gme-users
mailing list