[Zope] Python Products and ZODB Transactions

Toby Dickenson tdickenson@geminidataloggers.com
Tue, 23 Jan 2001 12:27:23 -0000


If your method changes data then it will always get saved. The only way is
to make sure your method never modifies a persistent object.

> -----Original Message-----
> From: Stephan Richter [mailto:srichter@cbu.edu]
> Sent: 23 January 2001 11:11
> To: tdickenson@geminidataloggers.com
> Subject: Re: [Zope] Python Products and ZODB Transactions
> 
> 
> 
> >Use the tranalyzer to see which objects are being commited. 
> They think
> >they are being modified, even if you dont think they should be.
> 
> Okay, I found the methods and they are sometimes changed. But now, it 
> should NEVER save the transaction. Is there a way to do that?
> 
> Regards,
> Stephan
> --
> Stephan Richter
> CBU - Physics and Chemistry Student
> Web2k - Web Design/Development & Technical Project Management
>