[sqlalchemy] Re: Integrating the ORM with Trellis

2008-03-06 Thread jason kirtland
Michael Bayer wrote: On Feb 27, 2008, at 12:19 PM, jason kirtland wrote: Michael Bayer wrote: You also get a hook that receives the collection_class argument in the case of a collection-based attribute and you get to return your own class, in which case all the collections API stuff can

[sqlalchemy] Re: exception message encoded in utf8

2008-03-06 Thread Michael Bayer
On Mar 6, 2008, at 6:35 PM, jean-philippe dutreve wrote: Hi all, I use SQLAlchemy-0.4.2p3, postgreSQL 8.2.4 (UTF8 configured) and psycopg2. I have no issue with unicode DATA in and out of the database. My problem is that when an IntegrityError is thrown, the exception message is a