> > using the "foreignkey" parameter
> > which is both deprecated and also more or less mutually exclusive
> > with "remote_side".
>
specifying foreign_keys explicitly, _and_ remote_side does work.
here the last fixed variant.

but if u comment out foreign_keys and lave only remote_side, in cases 
like B (table-)inherits A, A refers to B, it does:

.... ArgumentError:Cant determine relation direction for 'linkA' on 
mapper 'Mapper|A|A' with primary join '"A"."linkA_id" = "B".id' - 
foreign key columns are present in both the parent and the child's 
mapped tables.  Specify 'foreignkey' argument.

so i need both...

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Attachment: config.py
Description: application/python

Attachment: sa_generator.py
Description: application/python

Attachment: sa_ref_A_B_A_all.py
Description: application/python

Attachment: testutil.py
Description: application/python

Reply via email to