[Catalyst] Catalyst::Model::CDBI and AutoCommit/autoupdate

Perrin Harkins perrin at elem.com
Fri May 20 20:58:26 CEST 2005


On Friday 20 May 2005 2:45 pm, Frank Wiegand wrote:
> Hi,
>
> CDBI.pm's documentation says:
>
> __PACKAGE__->config(
>      dsn           => 'dbi:Pg:dbname=myapp',
>      password      => '',
>      user          => 'postgres',
>      options       => { AutoCommit => 1 },
>      relationships => 1
> );
>
> and it's code:
>
> for my $class ( $self->loader->classes ) {
>          $class->autoupdate(1);
> ...
>
> So the mentioned option does not work.

Which option isn't working?  You realize AutoCommit and autoupdate() do 
different things, right?

- Perrin



More information about the Catalyst mailing list