On 12/8/06, Michael Bayer <[EMAIL PROTECTED]> wrote: > when SA was first released, someone immediately suggested that the > identity map of Session be weak referencing, which appeared to be an > obvious improvement, so that you could load as many objects as you want > from the session and whatever you didnt use would just go away. but > now it appears that the more intuitive operation for a Session is that > things that get loaded into it, stay there, until you say otherwise. > > So id like to make the session act this way, again like > hibernate's...more explicit. what you load into the session stays > there until you clean it out. that behavior is more predictable than > what we have now.
+1 > Of course we can always add an option "weak_identity_map" if people > really do want the old behavior. -1, it's only a matter of time before this would bite you -- Jonathan Ellis http://spyced.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---