Nicolas,
If you attempting to do an insert, you should not have the problem with the ID. I found that when I inadvertently tried to do an upsert, not an insert, I had the same problem. I re ran the process to build another executable and everything worked fine.