Postgres SERIAL is not a post-insert identifier generation strategy

> we insert the record and read the last insert id for the current session. 

This is not true, the `persist()` call will call the DB and get the next available ID, later an insert will be performed using the obtained ID