Robert Dobbs wrote: > Can't locate DBI object method "last_insert_rowid" via package > "DBD::Sybase::db" at /usr/local/share/perl/5.8.8/DBIx/Class/Storage/DBI.pm > line 941. > > Is this relevant...? From the DBD::Sybase manual under section "Using ? > Placeholders & bind parameters to $sth->execute": > > "It is not possible to retrieve the last IDENTITY value after an insert done > with ?-style placeholders. This is a Sybase limitation/bug, not a > DBD::Sybase problem. " > > Ergh. Anyone know a work-around for this? I searched the list archives a > bit but didn't find anything recent. > > Mark
Somewhat related to this: https://rt.cpan.org/Ticket/Display.html?id=21260 If the DBB being used or the DB doesn't support it, what should DBIC really do? Personally, I think failing is the only sane answer. I'd much rather find out something isn't going to work that way, rather than 2 hours later when the data is bogon. That's assuming there isn't another way to fix this issue...
signature.asc
Description: OpenPGP digital signature
_______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/[email protected]/
