On 7/25/06 1:00 PM, "John Siracusa" <[EMAIL PROTECTED]> wrote:
> 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";
Prints "1" as expected.
> 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,
You are ALWAYS correct. In one of my classes, I had set AutoCommit off for
testing of some perl code, and I just happened to choose that class for an
example and found the (now totally expected) behavior--dumb mistake!
I'm sorry to have wasted your and the list's time.
Sean
-------------------------------------------------------------------------
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