36 messages in com.googlegroups.sqlalchemy[sqlalchemy] Re: concurent modification| From | Sent On | Attachments |
|---|---|---|
| imgrey | 22 Nov 2007 11:28 | |
| Sanjay | 22 Nov 2007 23:43 | |
| imgrey | 23 Nov 2007 00:58 | |
| Michael Bayer | 23 Nov 2007 08:03 | |
| imgrey | 27 Nov 2007 11:39 | |
| King Simon-NFHD78 | 28 Nov 2007 01:33 | |
| Michael Bayer | 28 Nov 2007 07:20 | |
| imgrey | 28 Nov 2007 07:38 | |
| Michael Bayer | 28 Nov 2007 08:37 | |
| imgrey | 28 Nov 2007 09:03 | |
| Michael Bayer | 28 Nov 2007 10:40 | |
| imgrey | 28 Nov 2007 12:29 | |
| Michael Bayer | 28 Nov 2007 14:07 | |
| imgrey | 30 Nov 2007 06:36 | |
| Michael Bayer | 30 Nov 2007 07:15 | |
| imgrey | 30 Nov 2007 10:44 | |
| Michael Bayer | 30 Nov 2007 11:06 | |
| imgrey | 30 Nov 2007 12:06 | |
| Michael Bayer | 30 Nov 2007 13:13 | |
| imgrey | 30 Nov 2007 15:21 | |
| Michael Bayer | 30 Nov 2007 22:01 | |
| imgrey | 01 Dec 2007 16:24 | |
| Michael Bayer | 01 Dec 2007 16:37 | |
| Michael Bayer | 02 Dec 2007 10:22 | |
| imgrey | 03 Dec 2007 15:32 | |
| Michael Bayer | 03 Dec 2007 16:50 | |
| imgrey | 06 Dec 2007 05:57 | |
| Michael Bayer | 06 Dec 2007 08:50 | |
| imgrey | 10 Dec 2007 16:45 | |
| imgrey | 11 Dec 2007 13:43 | |
| Michael Bayer | 11 Dec 2007 13:55 | |
| imgrey | 11 Dec 2007 14:53 | |
| Michael Bayer | 11 Dec 2007 15:14 | |
| imgrey | 14 Dec 2007 18:24 | |
| Michael Bayer | 14 Dec 2007 20:01 | |
| imgrey | 20 Dec 2007 23:35 |
| Subject: | [sqlalchemy] Re: concurent modification![]() |
|---|---|
| From: | imgrey (img...@gmail.com) |
| Date: | 11/23/2007 12:58:59 AM |
| List: | com.googlegroups.sqlalchemy |
I was thinking to change isolation level in fact.
But first, I don't know how to do this with sqlalchemy, second, with default isolation level commits should work properly weather or not something were inserted or updated during commit and third, I was using nested transaction like this :
transaction = session.begin() nested = session.begin_nested() try: ..insert.. #trying to insert values to column that have UNIQUE constraint except: ..update.. nested.commit() transaction.commit()
so, I'm not sure that done everything right.
btw, there's a daemon, and have no user to watch on it.
On 23 нояб, 09:43, Sanjay <skpa...@gmail.com> wrote:
I think all one can do is just forget and start over again, when concurrent modifications error occurs. That means, catchig the exception and just showing some failure message to the user is all one can do.
Sanjay
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to sqla...@googlegroups.com
To unsubscribe from this group, send email to
sqla...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---




