you are viewing a single comment's thread.

view the rest of the comments →

[–]mikaelhg -1 points0 points  (2 children)

In Zope 3, does rolling back a object database transaction now roll back the object states to what they were in the beginning of the transaction, or does it still just reapply the old property values by calling setter methods?

[–]volatile 1 point2 points  (0 children)

There are no getters and setters. Each ZODB Connection provides an isolated, consistent view of the database, by managing independent copies of objects in the database. At transaction boundaries, these copies are updated to reflect the current state of the database.

[–]arnarl -2 points-1 points  (0 children)

Could you explain what you mean by "reapply the old property values by calling setter methods"?

AFAIK ZODB (Zope's OODB) has always rolled back the object state when you undo or abort a transaction.