[Zope-DB] Transaction questions

Julián Muñoz jmunoz@telefonica.net
Thu, 18 Jul 2002 15:55:44 +0000 (GMT)


Yes it's possible, just create a python script that call both methods.

On 17 Jul 2002, Jose Gerardo Amaya Giron wrote:

> > Nevermind, reading the Zope DA intro I see that all we need
> > to implement is:
> >
> >      def _begin(self):
> >
> >          """ Start a transaction.
> >          """
> >
> >      def _finish(self):
> >
> >          """ Commit the transaction.
> >          """
> >
> >      def _abort(self):
> >
> >          """ Rollback the transaction.
> >          """
> >
> > and the rest is magic by the Zope transaction manager.
>
> Thanks for the information. But what about if already haver Z SQL
> Methods and I need to group them in a single session. Is this posible or
> every Z SQL Module is like a separate thread.
>
> Thanks again
>
> Gerardo Amaya
>
>
>
> _______________________________________________
> Zope-DB mailing list
> Zope-DB@zope.org
> http://lists.zope.org/mailman/listinfo/zope-db
>

-- 

      __o
    _ \<_
   (_)/(_)

Saludos de Julián
EA4ACL
-.-

Foro Wireless Madrid
http://opennetworks.rg3.net