On Oct 1, 2007, at 2:29 PM, [EMAIL PROTECTED] wrote:

>
> Hi Michael,
>
> I'm creating the session by:
>
>   Session = sessionmaker(bind = engine,
>                       autoflush = True,
>                       transactional = True)
>   session = Session()
>
> and I'm not using any threading at all (therefore no thread-local
> storage). The only thing between the commit and the next query is some
> reporting of statistics (using sys.stdout).
>
> I'm getting a constraint violation IntegrityError.
>

unique constraint ? PK constraint ? foreign key constraint ?    are  
you doing any explicit INSERT statements of your own independent of  
the session ?

I cant diagnose the problem any further on this end without an  
explicit example.



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

Reply via email to