well delete() doesnt mean "remove this object from the session"... it
means "mark this persistent object to be removed from the database".
otherwise then youd be having the delete() method deliver two
distinct sets of functionality based on what youre sending to it. id
rather have a delet
Couldn't it just be removed from the session as if it were persistent.
That way persistent and pending objects would act more or less the same.
On Fri, 2006-07-21 at 21:55 -0400, Michael Bayer wrote:
> it should raise an error when you go to delete() it because sp2 is
> not persistent; it makes
it should raise an error when you go to delete() it because sp2 is
not persistent; it makes no sense to call delete on it.
On Jul 21, 2006, at 8:03 PM, Brett wrote:
>
> The SA trac is down so I'll post this here so I don't forget about. I
> would expect the last line of this test to print None,
3 matches
Mail list logo