Re: last_insert_rowid and DBD::ODBC combined with DBIx::Class::Storage::DBI

2006-09-01 Thread Martin J. Evans
Tim Bunce wrote: On Fri, Sep 01, 2006 at 04:45:07PM -, Eriam Schaffter wrote: my software crashes badly due to the fact that DBD::ODBC has not a "last_insert_rowid" method: It's called last_insert_id Tim. As you say, it is last_insert_id but I don't think DBD::ODBC implements it beca

Re: last_insert_rowid and DBD::ODBC combined with DBIx::Class::Storage::DBI

2006-09-01 Thread Tim Bunce
On Fri, Sep 01, 2006 at 04:45:07PM -, Eriam Schaffter wrote: > > my software crashes badly due to the fact that DBD::ODBC has not a > "last_insert_rowid" method: It's called last_insert_id Tim.

last_insert_rowid and DBD::ODBC combined with DBIx::Class::Storage::DBI

2006-09-01 Thread Eriam Schaffter
Hello There is two sides to this issue, one has been filled on rt.cpan.org (the DBIx::Class::Storage::DBI one) and the other one I am raising here. Actually I'm using DBD::ODBC with DBIx::Class::Storage::DBI and when I try to add a record my $rapport = $schema->resultset('Rapports')->creat