[Dbix-class] 'without storage' error with txn_do

Jason Konrad jason at popularmedia.com
Fri May 25 20:14:10 GMT 2007


I'm attempting to add transaction support to my Catalyst app which is using
DBIx but I am getting this error while trying to execute

eval {
   $rs = kRadDB->txn_do($coderef);
};


'DBIx::Class::Schema::txn_do(): txn_do called on $schema without storage at'

I'm loading my schemas with the loader

package kRadDB;

use strict;
use base qw/DBIx::Class::Schema::Loader/;

__PACKAGE__->loader_options(
    relationships => 1,
);

Forgot to mention the database is MySQL.


Any thoughts?

Thanks,
  Jason




More information about the Dbix-class mailing list