ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zodb
zodb
Re: [ZODB-Dev] ZODB not saving sometimes
by Andreas Jung other posts by this author
Jun 22 2008 8:57AM messages near this date
Re: [ZODB-Dev] ZODB not saving sometimes | [ZODB-Dev] Re: ZODB not saving sometimes
--On 22. Juni 2008 08:49:32 -0700 tsmiller <tsmiller@[...].com>  
wrote:

> 
>  Gary,
>  I have been using the ZODB for about a year and a half with a bookstore
>  application.  I am just now about ready to put it out on the internet for
>  people to use.  I have had the same problem with saving data.  I have
>  tried alot of things.  But I have never gotten the database to save
>  consistently.  I can create an x number of records one right after the
>  other that uses the exact same code to save them, and it is likely that
>  all of them will save perfectly except one - or maybe two.

We have never seen that - except with badly written application code. 
Commiting a transaction should always commit the data. That's the sense of 
a transaction system. The only reason I can imagine causing such a failure:
bare try..except with in your code suppressing ZODB conflict errors.

Andreas
Thread:
Tsmiller
Andreas Jung
Laurence Rowe

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved