I want to have the ID of the last inserted Row. But lastInsertId() seems not to work eventhough the row is getting inserted into the database. It seems like the lastInserted