On 7/26/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
> I've got a table that has two separate columns pointing back to
> another table. I've set up relations for both of those and I used
> primaryjoin to specify which field is used for each relation (that's
> where I might be going wrong). The first suspicious thing I see in the
> log is an INSERT into this table where both values are the same:


An additional comment on this: in the "real" version of my test
script, it actually fails only some of the time. I am able to get it
to pass 100% of the time by creating the Food objects, flushing them
and then setting the ids on the Lunch object rather than setting the
Food objects themselves there.

Kevin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to