This one time, at band camp, Michael Bayer wrote: >before even running it I added this: > >print class_mapper(Submission).props['people'].primaryjoin >print class_mapper(Submission).props['people'].secondaryjoin >print class_mapper(Submission).props['people'].lazywhere >print class_mapper(Person).props['submissions'].lazywhere > >which revealed the issue: > >submission.id = person_submission_map.submission_id >person.id = person_submission_map.person_id >? = person_submission_map.submission_id AND person.id = >person_submission_map.person_id >person.id = person_submission_map.person_id AND submission.id = >person_submission_map.submission_id > >which is, the last line there is the "lazy" clause when loading >"submissions", but it has no place to set the ID of the parent object >(you can see the lazy clause above it, corresponding to 'people', >does). so I made a small enhancement to the "lazy determination" >step to be smarter about matching columns to tables in rev 1770 which >fixes this issue.
Awesome! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users