Re: [sqlalchemy] Hang while committing to sqlite db using ironpython

2013-08-02 Thread public
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd recommending strace'ing your process to see what syscall causes the hang. On 08/02/2013 02:49 PM, Michael Bayer wrote: never been tested on IronPython. On Aug 1, 2013, at 11:18 PM, Agus Wang tiduzf...@gmail.com mailto:tiduzf...@gmail.com

[sqlalchemy] Find out what's going to be deleted

2013-06-02 Thread public
When using more complex, hierarchical models with differing settings on how cascade deletes are handled it gets quite hard to figure out beforehand what a delete() will exactly do with the database. I couldn't find any way to get this piece of information (Hey SQLAlchemy, what will be deleted if

Re: [sqlalchemy] Find out what's going to be deleted

2013-06-02 Thread public
Thanks a lot for your comprehensive answer! I was able to solve my problem by implementing your first suggestion. Orphans do not play a role yet… I think :-) On 06/02/2013 05:09 PM, Michael Bayer wrote: The only deletes that aren't present in session.deleted before the flush are those that