Skip to content

Redundant updates of collection used as an array column #19

Open
@Nawrok

Description

@Nawrok

The library supports collections supported as an array column. However, a problem occurs when updating an already existing entity, for which unnecessary statements are executed. If the collection of elements held as array column type has not changed, SQL statements are executed anyway. The problem is in the needsUpdate() method in the SaveProcessor class. The compared reference between persisted and actual collections is never satisfied. Object.deepEquals() alone would be sufficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions