[sqlalchemy] Re: Could not determine join condition between parent/child but foreign keys exist

2009-02-19 Thread Michael Bayer
we cannot help without the benefit a sample application illustrating the full configuration of tables and mappers. On Feb 19, 2009, at 8:50 AM, robert rottermann wrote: Hi there, i have two tables that are lined trouh association table. now on the developpment box every thing works fine.

[sqlalchemy] Re: Could not determine join condition between parent/child but foreign keys exist

2009-02-19 Thread robert rottermann
here are my mappings and the tbl definition thanks again robert engine_factory = EngineFactory(DSN) #, echo=True) SCOPED_SESSION_NAME = SESSIONNAME engine = engine_factory() Base = declarative_base(engine) Base.metadata.reflect() tables = Base.metadata.tables class verteilerCL(Base):

[sqlalchemy] Re: Could not determine join condition between parent/child but foreign keys exist

2009-02-19 Thread robert rottermann
Michael Bayer schrieb: docvert probably has no foreign keys in your production DB. That, or there's some obscure issue on production such that PG is not sending the proper information when SQLAlchemy reflects the table. If no solution can be found then don't use table