[orm-devel] dbclass - __getattr__
Wed, 27 Aug 2003 08:17:54 -0700
On Tue, 2003-08-26 at 19:00, Michael Watkins wrote:
> I suppose the biggest issue is that when unpickled, both the database
> connection, cursor and associated objects may have changed radically in
> the interim. The database may have been stopped. Connections broken.
> Etc. And how would the objects know this without requerying...
Out of interest I picked an ORM object and then called it after killing
the db and restarting. I was able to modify an attribute and then commit
the change after unpickling it.
Your mileage may vary.