[Catalyst] Can't get last insert id

August R. Wohlt catalyst at isidore.net
Sun Jul 23 14:58:01 CEST 2006


Are you using CDBI by any change? I used to get this message all the time
from a bug in one or two versions of Class::DBI ago. Upgrading Class::DBI to
the latest got rid of the message. Or just switch to DBIx::Class.

:

On 7/22/06, Ben Hopkins <hopkins.ben at gmail.com> wrote:
>
> I'm running through the tutorial, in Basic CRUD.  In the url_create
> routine, I went to add a book and got this error message:
>
> Caught exception in MyApp::Controller::Books->url_create
> "DBIx::Class::ResultSet::create(): Can't get last insert id at
> /home/ben/apps/MyApp/script/../lib/MyApp/Controller/Books.pm line 92"
>
>
>
> I've got Catallyst version 5.7001.  mysql version 4.1.20.
>
> Any ideas?
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060723/b0724f14/attachment.htm 


More information about the Catalyst mailing list