[egenix-users] Re: [Zope-DB] Wierd rollback problem in mxODBC DA

Philip Kilner phil at xfr.co.uk
Thu Oct 21 07:06:13 EDT 2004


Hi Marc,

M.-A. Lemburg wrote:
> The mxODBC Zope DA's transaction mechanism is controlled by Zope,
> so if Zope thinks that it needs to undo or redo the current transaction,
> it signals this to the DA which then issues a rollback as necessary.
> 
> If you want to have the DA generate debug output, you have
> to set the internal variable _debug to 1 or 2. This can only be
> done at the Python level by importing the product and adjusting
> the variable directly:
> 
> from Products.mxODBCZopeDA import ZopeDA
> ZopeDA._debug = 2
> 
> The DA will then print out lots and lots of information, including
> whether it issues a rollback or commit.
> 

Fab - will do that if this happens again.


-- 

Regards,

PhilK

Email: phil at xfr.co.uk / Voicemail & Facsimile: 07092 070518

"Work as if you lived in the early days of a better nation." - Alasdair Gray


More information about the Zope-DB mailing list