[Dbix-class] ROLLBACK seems to be skipped on 0.08

Matt S Trout dbix-class at trout.me.uk
Sat Oct 20 04:57:52 GMT 2007


On Fri, Oct 19, 2007 at 10:28:38AM +0200, Jesper Krogh wrote:
> AutoCommit is 0 .. you can see it above, thats by intention.

AutoCommit 0 has been considered undefined for DBIC for some time.

DBIC provides safe transaction primitives. Use them please.

(note: I'd love if you can help Brandon find the problem but you should
only ever use AutoCommit 0 with DBIx::Class if the $dbh needs to be shared
with legacy code that requires it; there is no reason whatsoever to do so
otherwise, DBIC's transaction primitives are both more effective and more
robust)

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the DBIx-Class mailing list