Doctrine 1

when inserting a record into sql server (via odbc) doctrine fails to get last inserted ID