I am using the new Symfony Flex bundle. I have a long running process. I am creating a new row in a table, then waiting for a semaphore, and reading the row again as it has changed in the meantime.
Similarly, I want to be able to create a new row and then re-read it as MySQL executes a trigger that amends values. I am not able to retrieve the updated row values.
It seems the row is stored in Mapper::identityMap so I am getting back the original array passed through; not the updated row from the database.
I cannot see a way to force a refresh so the row is actually read from the database.
Thoughts?