Hello,
it is possible to merge detached entities?
There are some attached entities which load from the database. The transaction is finished and the entities become detached.
In a new transaction the fields of the detached entities will be changed and a merge by em.merge(entity) will be saved the entities.
Can this works correctly?
How are the rules of the merge process? Do the changed fields of the detached entity overwrite the fields in the database? Also changed fields which are set to null?
best regards