On Jan 27, 2007, at 2:14 AM, [EMAIL PROTECTED] wrote:

>
> Can we invent some practical rule about what cannot (or should not) be
> lazy?
>  a) self-reference and inheritance between pointing and pointed, in
> any direction
>  b) anything else ?? i see rev.2257

we are nowheres close to inventing such a rule, thats why there isnt  
one.   polymorphic loading was not part of my original idea for SA,  
its been growing organically.  now that the squeakiest wheels seem to  
all be wanting this particular feature, its getting time for it to be  
more carefully designed....up until now its been pretty ad-hoc.

> Otherwise, it is a trial-and-error:
>  - make some relation eager
>  - try querying all classes around
>  - make another relation eager
> ... until one hits some error - or succeeds

that is part of the SA way of doing things...its an organic product  
and its not entirely clear to me or anyone else what its full range  
of expression is, not to mention i am improving its range of  
expression every day.  you also have to take into account different  
databases allowing different levels of expressiveness as well.  you  
have this same thing with hibernate or anything else...you have to  
try things to see if they work.  fortunately Python is a scripting  
language and is very friendly towards agile processes such as this one.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to