Re: Committing rolling back many objects at once?

[prev] [thread] [next] [Date index for 2005/01/21]

From: Perrin Harkins
Subject: Re: Committing rolling back many objects at once?
Date: 04:03 on 21 Jan 2005
Sam Vilain said:
> Perrin Harkins wrote:
>> No, you can only rollback or commit everything you did on a certain
>> database connection.
>
> Some databases (even MySQL/InnoDB!) also support SQL SAVEPOINTS.
>
> So you can mark multiple points through your transactions and then later
> go back with ROLLBACK TO SAVEPOINT FOO;

Even so, it's important for users to understand that this is all tied to
the database connection, not to any specific set of objects.  Class::DBI
just calls commit on your database connection, and adds nothing on top of
that to tie transactions to objects.

- Perrin

Committing rolling back many objects at once?
Peter Speltz 18:03 on 20 Jan 2005

Re: Committing rolling back many objects at once?
Perrin Harkins 18:06 on 20 Jan 2005

Re: Committing rolling back many objects at once?
Peter Speltz 18:15 on 20 Jan 2005

Re: Committing rolling back many objects at once?
Perrin Harkins 04:03 on 21 Jan 2005

RE: Committing rolling back many objects at once?
Addison, Mark 15:22 on 26 Jan 2005

RE: Committing rolling back many objects at once?
Peter Speltz 17:43 on 26 Jan 2005

Generated at 12:39 on 05 Feb 2005 by mariachi v0.52