Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [propel-dev] New Transaction setup

propel
Discussion topic

Back to topic list

Re: [propel-dev] New Transaction setup

Reply

Author Cameron Brunner <cameron dot brunner at gmail dot com>
Full name Cameron Brunner <cameron dot brunner at gmail dot com>
Date 2006-10-01 01:45:32 PDT
Message What was the verdict about doing this in 2.0? Have you got something
ready or should i commit what i have done or ?


Cameron

On 9/23/06, Hans Lellelid <hans at velum dot net> wrote:
> Ok, well, I wasn't planning on changing anything about the behavior of
> the PDO API except the fact that it throws an exception when you
> beginTransaction() within another transaction. Or provide a
> isInTransaction() method or something ...
>
> Hans
>
> Cameron Brunner wrote:
> > I was trying to avoid altering the default pdo functionality, i just
> > wanted to add what we needed for propel so when users used the
> > connection directly it was 'as normal'...
> >
> >
> > Cameron
> >
> > On 9/23/06, Hans Lellelid <hans at velum dot net> wrote:
> >> I spend some more time looking at this & at PDO. I'm going to commit a
> >> slightly modified version of this to 1.3 branch (and later, to trunk) --
> >> so that API matches default PDO as possible.
> >>
> >> Thanks!
> >>
> >> Hans
> >>
> >> Hans Lellelid wrote:
> >> > Hi Cameron,
> >> >
> >> > I just had an opportunity to look at this patch. I hadn't thought
> >> about
> >> > simply extending the PDO class. Were the begin()/rollback()/commit()
> >> > methods final (i.e. is that why you created txnBegin(), etc.)?
> >> >
> >> > I'd rather use an API that will allow us to revert to using the
> >> default
> >> > PDO driver, once its transaction support is improved.
> >> >
> >> > Hans
> >> >
> >> > Cameron Brunner wrote:
> >> >
> >> >> This needs a beating before it gets commited however i extended PDO
> >> >> and setup a transaction wrapper in it and altered the generators to
> >> >> use it. Anyone care to try it out and let me know how it goes for
> >> >> them? Also does anyone have any objections to a patch along these
> >> >> lines? I have it active on my sites and it seems fine...
> >> >>
> >> >>
> >> >> Cameron

« Previous message in topic | 6 of 12 | Next message in topic »

Messages

Show all messages in topic

New Transaction setup Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-09-17 22:00:43 PDT
     Re: [propel-dev] New Transaction setup hlellelid Hans Lellelid 2006-09-22 08:08:39 PDT
         Re: [propel-dev] New Transaction setup hlellelid Hans Lellelid 2006-09-22 08:19:53 PDT
             Re: [propel-dev] New Transaction setup Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-09-22 08:33:32 PDT
                 Re: [propel-dev] New Transaction setup hlellelid Hans Lellelid 2006-09-22 09:01:57 PDT
                     Re: [propel-dev] New Transaction setup Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-10-01 01:45:32 PDT
                         Re: [propel-dev] New Transaction setup hlellelid Hans Lellelid 2006-10-01 06:18:15 PDT
                         datadump across multiple schema files Robert Bruce <rob at tdd dot org dot uk> Robert Bruce <rob at tdd dot org dot uk> 2006-10-01 14:28:38 PDT
                             Re: [propel-dev] datadump across multiple schema files Luciano Andrade <andrade dot luciano at gmail dot com> Luciano Andrade <andrade dot luciano at gmail dot com> 2006-10-02 04:25:44 PDT
                                 Re: [propel-dev] datadump across multiple schema files Robert Bruce <rob at tdd dot org dot uk> Robert Bruce <rob at tdd dot org dot uk> 2006-10-02 05:37:41 PDT
                             Re: [propel-dev] datadump across multiple schema files Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2006-10-02 05:20:03 PDT
                                 Re: [propel-dev] datadump across multiple schema files Robert Bruce <rob at tdd dot org dot uk> Robert Bruce <rob at tdd dot org dot uk> 2006-10-02 05:27:58 PDT
Messages per page: