[Catalyst] DBIx::Class::ResultSet::all(): DBI Exception:
DBD::DB2::db prepare_cached
failed: [IBM][CLI Driver][DB2/AIX64] SQL0204N "DBUSERNAME.ACCOUNT_VIEW" is
an undefined name.
Kenneth S Mclane
ksmclane at us.ibm.com
Thu Apr 26 19:05:18 GMT 2012
I do not understand this error at all. It is tacking the DB user name onto
the model name. Any hints why this is happening?
This is my list sub:
sub list :Local {
my ($self, $c) = @_;
$c->stash(accounts => $c->model('ORANGES::AccountView')->all);
$c->stash(template => 'accountview/list.tt2');
}
The model exists, if I remove the "->all" I get a different error but at
least the stash gets populated with a bunch of info ABOUT the model, not
the actual data. With it left in I never get anything but the error.
Any help appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20120426/37ef540e/attachment.htm
More information about the Catalyst
mailing list