Re: [sqlalchemy] Re: onupdate Column attribute with joined table inheritance question

2010-05-31 Thread John Fries
btw, using the __before_update__ technique introduced some weird data corruption issues for me when my class had PickleType datamembers. For instance, # Create the Foo class to map foos_table to class Foo(object): def __before_update__(self): self.some_pickle_type self.last_edit_date =

[sqlalchemy] Re: onupdate Column attribute with joined table inheritance question

2009-03-02 Thread Michael Bayer
On Mar 2, 2009, at 2:16 PM, John Fries wrote: Hi all, I am having a problem that is identical to the one mentioned last year on this list: http://groups.google.com/group/sqlalchemy/browse_thread/thread/efd3993c94c8d162/37943cda02151f2b?lnk=gstq=onupdate+inheritance#37943cda02151f2b I

[sqlalchemy] Re: onupdate Column attribute with joined table inheritance question

2009-03-02 Thread John Fries
Thanks Michael! That should have been obvious to me, but for some reason I couldn't figure it out. On Mon, Mar 2, 2009 at 11:24 AM, Michael Bayer mike...@zzzcomputing.comwrote: On Mar 2, 2009, at 2:16 PM, John Fries wrote: Hi all, I am having a problem that is identical to the one

[sqlalchemy] Re: onupdate Column attribute with joined table inheritance question

2008-09-02 Thread Michael Bayer
On Sep 2, 2008, at 3:06 PM, Sam Magister wrote: Hi, I'm using joined table inheritance much like the example given here: http://www.sqlalchemy.org/docs/05/mappers.html#advdatamapping_mapper_inheritance_joined Additionally, in the employees table, I would like an update_timestamp column

[sqlalchemy] Re: onupdate Column attribute with joined table inheritance question

2008-09-02 Thread az
On Tuesday 02 September 2008 22:50:09 Michael Bayer wrote: On Sep 2, 2008, at 3:06 PM, Sam Magister wrote: Hi, I'm using joined table inheritance much like the example given here: http://www.sqlalchemy.org/docs/05/mappers.html#advdatamapping_map per_inheritance_joined