From: sqlalchemy@googlegroups.com [mailto:sqlalchemy@googlegroups.com] On
Behalf Of Michael Bayer
Sent: Friday, January 04, 2013 10:12 PM
To: sqlalchemy@googlegroups.com
Subject: Re: [sqlalchemy] Query about exception being raised on violating
uniqueness constraint
Would need much more
Would need much more detail here including a full stack trace, what line you're
referring to in _flush(), and preferably code which reproduces the error you're
seeing.
On Jan 4, 2013, at 1:55 AM, Gurjar, Unmesh wrote:
Hi,
I have installed SQLAlchemy 0.7.9 (backend – MySQL, Python 2.7). I
Hi,
I have installed SQLAlchemy 0.7.9 (backend - MySQL, Python 2.7). I have a
defined a table having a uniqueness constraint. On inserting a record which
violates this constraint, my application gets a 'TypeError' exception instead
of 'IntegrityError'.
After debugging the issue, I found that