Skip to content

Support List without @MappedCollection(keyColumn=) [DATAJDBC-630] #848

@spring-projects-issues

Description

@spring-projects-issues

Veli-Pekka Muli opened DATAJDBC-630 and commented

Currently the only way to have collections that don't have an order column in the database is to make the collection a Set. This is limiting as Set does not allow duplicate elements and Spring Data JDBC shouldn't force the type of the collections that the entities can have like this. If I want to sort the collection in my code then it might be confusing for the reader because I was forced to use Set which usually isn't ordered. @MappedCollection should be optional for Lists


No further details from DATAJDBC-630

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