[Zope-DB] Q2: can you show an working DB transaction example ?

Smith, Neil (Worcester) Neil.Smith at npower.com
Tue Dec 2 09:09:06 EST 2003


I don't know about Python scripts, but with DTML and ZSQL methods if you use
a dtml-try then you definitely have to do the rollback yourself in the
dtml-except.

-- 
Neil



-----Original Message-----
From: Bo M. Maryniuck [mailto:b.maryniuk at forbis.lt]
Sent: 02 December 2003 13:59
To: fowlertrainer at anonym.hu; zope-db at zope.org
Subject: Re: [Zope-DB] Q2: can you show an working DB transaction
example ?


On Tuesday 02 December 2003 15:22, fowlertrainer at anonym.hu wrote:
> I don't see any example or other info to HOW I ACCESS THE DA, AND IT'S
> TRANSACTION.

Therefore you're wrong. (-: You don't want to access ZODB transactions. You 
want just only notify user about error. Once it failed, rollback is called 
automatically.

-- 
Regards, Bogdan M.Maryniuck

System programmer, Forbis UAB


**********************************************************************
RWE Innogy and npower would like to wish all our customers, suppliers and colleagues a happy Christmas and prosperous New Year. We will be making a donation to ChildLine, our corporate charity, rather than sending you a corporate Christmas card this year.
**********************************************************************
This e-mail is provided for general information purposes only and does not constitute investment or transactional advice. For  the avoidance of doubt the contents of this email are subject to contract and will not constitute a legally binding contract.

The information contained in this e-mail is confidential and intended only for the use of the addressee. If the reader of this message is not the addressee, you are hereby notified that you have received this e-mail in error and you must not copy, disseminate, distribute, use or take any action as a result of the information contained in it.
    
If you have received this e-mail in error, please notify postmaster at npower.com (UK 01384 275454) and delete it immediately from your system.
    
Neither Npower nor any of the other companies in the RWE Innogy group from whom this e-mail originates accept any responsibility for losses or damage as a result of any viruses and it is your responsibility to check attachments (if any) for viruses.
Npower Limited Registered office: Windmill Hill Business Park, Whitehill Way, Swindon SN5 6PB. Registered in England and Wales: number 3653277.  This e-mail may be sent on behalf of a member of the RWE Innogy group of companies.
**********************************************************************




More information about the Zope-DB mailing list