On Jan 22, 2008 11:42 AM, Ted Zlatanov <[EMAIL PROTECTED]> wrote: > I'd like to try without autocommit; I tried the built-in RDBO > transactions but those didn't work well for me. begin_work was fine, > but if an error happened anywhere in the transaction, rollback() didn't > do anything and the DB rejected any further transactions. I could post > my code (I tried about 6 different ways), but I'd really like to know if > there is an example in the docs anywhere of using transactions.
You can find some examples in the Rose::DB test suite: http://search.cpan.org/src/JSIRACUSA/Rose-DB-0.737/t/trx.t If you post one of your 6 ways and explain where it goes wrong, it'd make it easier to figure out where the problem is. -John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object