9 messages in com.googlegroups.sqlalchemy[sqlalchemy] Re: some failures on pol...| From | Sent On | Attachments |
|---|---|---|
| sdob...@sistechnology.com | 25 Jan 2007 15:12 | .py, .py, .py, 1 more |
| Michael Bayer | 25 Jan 2007 15:41 | |
| sdob...@sistechnology.com | 25 Jan 2007 23:01 | |
| svilen | 26 Jan 2007 06:23 | .py |
| Michael Bayer | 26 Jan 2007 09:16 | |
| Michael Bayer | 26 Jan 2007 15:39 | |
| sdob...@sistechnology.com | 26 Jan 2007 23:14 | |
| sdob...@sistechnology.com | 26 Jan 2007 23:35 | |
| Michael Bayer | 27 Jan 2007 11:16 |
| Subject: | [sqlalchemy] Re: some failures on polymorphic-mapper with non-lazy relations![]() |
|---|---|
| From: | sdob...@sistechnology.com (sdob...@sistechnology.com) |
| Date: | 01/26/2007 11:14:17 PM |
| List: | com.googlegroups.sqlalchemy |
Employee points to Dept and Dept points to Director; Director inherits Employee. no other references.
thats not the test case im talking about, you gave me just "A" and "B" with "B" point to "A" (which is "A" pointing to "A").
that right, i found another case giving the same error, and thought it is somewhat linked.
just look at the queries these things generate, expecting eager in all cases from those relations is starting to push the envelope a bit further than I can handle myself (as well as what a DB can usually handle).
is there any link between a relation being post_update and being lazy?
no.
that's all okay, i don't expect anything. i just want the thing to run. and i don't realy care about the lazy/eagerness that much.
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
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to sqla...@googlegroups.com
To unsubscribe from this group, send email to
sqla...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---





.py, .py, .py, 1 more