You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the unit of work appearss "polluted" after persist -> flush -> clear -> find -> remove -> flush routine
Current behavior
when a parent class has a child collection using an association class, the unit of work contains proxy classes after removal of the entities when the entity manager is cleared in between persisting and removing. nevertheless, these entities are no longer present in the database
Bug Report
Summary
the unit of work appearss "polluted" after persist -> flush -> clear -> find -> remove -> flush routine
Current behavior
when a parent class has a child collection using an association class, the unit of work contains proxy classes after removal of the entities when the entity manager is cleared in between persisting and removing. nevertheless, these entities are no longer present in the database
How to reproduce
check the code in this POC to reproduce
Expected behavior
expected behaviour would be the proxy classes not to be present in the unit of work after the second flush
The text was updated successfully, but these errors were encountered: