Skip to content

How to recompute collections in onFlush event?  #7685

Open
@wtorsi

Description

@wtorsi

Hi,
How to recompute changes made for association in onFlush event?
At this moment, i see only one possible solution is to call computeChangeSet on changed parent entity.
But this solution will break when for example parent entity has STATE_NEW, all initial changes will be overwritten.
Documented recomputeSingleEntityChangeSet skips complex associations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions