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?  I'm using the latest versions of DBI, DBD::Pg, RDBO and
Rose::DB.

Thanks,
Sean

package Spot::DB;
use strict;
use warnings;
use Rose::DB;
our @ISA = qw(Rose::DB);

Spot::DB->register_db(
    domain    => 'development',
    type      => 'main',
    driver    => 'Pg',
    database  => 'spot',
    host      => 'localhost',
);

__PACKAGE__->default_connect_options({AutoCommit=>1,
                      RaiseError=>1,
                      PrintError=>1,
                      Warn      =>1,}
);
__PACKAGE__->default_domain('development');
__PACKAGE__->default_type('main');


-------------------------------------------------------------------------
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