[Dbix-class] can't get PK::Auto with MSSQL thru Sybase

Robert Dobbs bobisdobbs at hotmail.com
Tue Sep 5 19:36:41 CEST 2006


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

_________________________________________________________________
Got something to buy, sell or swap? Try Windows Live Expo  
ttp://clk.atdmt.com/MSN/go/msnnkwex0010000001msn/direct/01/?href=http://expo.live.com/




More information about the Dbix-class mailing list