cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Razumovsky <razumovsky.and...@gmail.com>
Subject Re: Rollbacks and Listeners
Date Mon, 09 Aug 2010 10:16:35 GMT
I meant

callbacks are not called during rollback :)

2010/8/9 Andrey Razumovsky <razumovsky.andrey@gmail.com>

> Hi,
>
> Unless something's changed, callbacks are not called during callback. Also
> note that only "post" callbacks can tell for sure that DB operations had
> happened
>
> 2010/8/9 Bruno René Santos <brunorene@holos.pt>
>
> Hello all,
>>
>>
>>
>> Im using cayenne on a banking system, where commits and rollbacks are
>> critical.
>> I was thinking about using cayenne callbacks to include the creation of
>> logs
>> during database operations. My doubt is what happens when there is a
>> rollback on
>> the database during a transaction in terms of callbacks? Do all Pre...
>> callbacks
>> are called but no Post.. callbacks? Is there any way to know on the
>> callbacks
>> that the objects were rollbacked?
>>
>>
>>
>> Regards
>>
>> Bruno Santos
>>
>>
>>
>>
>
>
> --
> Andrey
>



-- 
Andrey

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message