On 7/25/06, Sean Davis <[EMAIL PROTECTED]> wrote:
> I have a set of classes and am finding that I need to do an explicit commit
> despite a Rose::DB subclass that is given below.  Is this a normal behavior,
> as from the docs, it appears that the AutoCommit should default to 1 and
> even with it set explicitly as below, it still requires a commit to get into
> the database?

Try this:

    $db = Spot::DB->new;
    print $db->dbh->{'AutoCommit'}, "\n";

and see what it says.  If it prints "1" then something else must be
going on and you should post a longer example with full code and table
definitions so I can run it myself and see what the issue is.

-John

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to