1
0
mirror of synced 2025-01-29 19:41:45 +03:00
This commit is contained in:
zYne 2007-10-06 19:10:14 +00:00
parent a20ceff363
commit 5c3bea6584

View File

@ -606,7 +606,7 @@ class Doctrine_Connection_UnitOfWork extends Doctrine_Connection_Module
$id = $this->conn->sequence->lastInsertId($seq);
if ( ! $id) {
$id = $table->getMaxIdentifier();
throw new Doctrine_Connection_Exception("Couldn't get last insert identifier.");
}
$record->assignIdentifier($id);
@ -622,4 +622,4 @@ class Doctrine_Connection_UnitOfWork extends Doctrine_Connection_Module
return true;
}
}
}