Skip to content

Incorrect handling of collections in EntityState #21

Open
@Nawrok

Description

@Nawrok

The persisted values in the EntityState class for the collection are copied to the LinkedList in the savePersistedValue() method. As a result, by defining a collection of type Set in an entity tagged with the @ColumnDefinition(updateable = false) annotation, the SaveProcessor method for restoring values is executed. As this is done via the reflection mechanism, the application gives an error about not being able to assign a collection of type Set to a collection of type LinkedList.

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