Re: [Zope] Python Products and ZODB Transactions

2001-01-23 Thread Toby Dickenson
On Tue, 23 Jan 2001 03:28:34 -0600, Stephan Richter [EMAIL PROTECTED] wrote: Hello everyone, wow, I haven't posted here for a while now, but now I came to a bigger problem and I hope someone of you will have some suggestions: I built a Python Product that saves and gets data from a RDB.

RE: [Zope] Python Products and ZODB Transactions

2001-01-23 Thread Toby Dickenson
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:[EMAIL PROTECTED]] Sent: 23 January 2001 11:11 To: [EMAIL PROTECTED] Subject: Re: [Zope] Python

RE: [Zope] Python Products and ZODB Transactions

2001-01-23 Thread Stephan Richter
At 12:27 PM 1/23/01 +, Toby Dickenson wrote: 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. Mmmhh, so my answer is not to derive my classes from Persistent. Will it then actually store the object in the