diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-03-05 05:12:09 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-03-05 05:12:09 +0000 |
commit | 7693a680edf9776d3037283f3d63e3aeeb06649e (patch) | |
tree | f8dbf41ce7b6464562a533d8eb64d89e5b824bf8 /lib/sqlalchemy/ansisql.py | |
parent | eb753925294a41ce63703ecd3c0891d5afc5e89d (diff) | |
download | sqlalchemy-7693a680edf9776d3037283f3d63e3aeeb06649e.tar.gz |
- put an aggressive check for "flushing object A with a collection
of B's, but you put a C in the collection" error condition -
**even if C is a subclass of B**, unless B's mapper loads polymorphically.
Otherwise, the collection will later load a "B" which should be a "C"
(since its not polymorphic) which breaks in bi-directional relationships
(i.e. C has its A, but A's backref will lazyload it as a different
instance of type "B") [ticket:500]
Diffstat (limited to 'lib/sqlalchemy/ansisql.py')
0 files changed, 0 insertions, 0 deletions