[sqlalchemy] Re: MapperExtension.after_update and Session.merge(..., dont_load=True).

2008-01-14 Thread Michael Bayer
On Jan 14, 2008, at 5:30 AM, klaus wrote: Hi all, sometime since version 0.4.2, the after_update hook of a MapperExtension fires even if no SQL UPDATE statement is generated. Is this a bug or a feature? this is a feature, the save_obj() method is including your object but no UPDATE is

[sqlalchemy] Re: MapperExtension.after_update and Session.merge(..., dont_load=True).

2008-01-14 Thread klaus
Nice, thanks! On 14 Jan., 16:16, Michael Bayer [EMAIL PROTECTED] wrote: On Jan 14, 2008, at 5:30 AM, klaus wrote: Hi all, sometime since version 0.4.2, the after_update hook of a MapperExtension fires even if no SQL UPDATE statement is generated. Is this a bug or a feature? this is