I am currently using doctrine merge to "restore" an entity with relationships after retrieving it from the session.
As from doctrine 3, this function will be deprecated so I am wondering if there is any way to keep an entity object in the session for a while before persisting it to the database.
I need this for a multistep form through which my object gets populated.
For now, the only solution i see is storing the entity in a temporary database table but i don't really like this idea because my table will be filled with "junk".
Thanks !