> apparently Begin() doesn't actually do anything..
>

Yes, because DBI didn't had a begin method...

> This version calls dbh->begin_work, which temporarily turns off
> AutoCommit (until the next rollback/commit) and begins a transaction.
>

This make sense, unfortunately begin_work is very new (DBI 1.19 or 1.20), at
least it is newer than the last DBIx::Recordset release. This actually
explains why it isn't already in :-)

> If AutoCommit is off, you are already in a transaction and this version
> still does nothing. Perhaps Begin() could give an error if its called
> and the object is Dirty or something?
>

Should be possible. I keep it in mind for the next release.

> Apparently !DBIAttr is ignored if you're using a pre-existing !DataSource,
> so this was the only way for me to get a transaction (required for
> postgres large objects - else they fail in really obscure ways..)
>

Yes it is ignored, because DBI doesn't have a way to iterate thru all
attributes, so you don't have the possibility to retrive the !DBIAttr from a
DBI database handle.

Thanks for the patch, will be in the next release

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to