eclipse / jnosql

Eclipse JNoSQL is a framework which has the goal to help Java developers to create Jakarta EE applications with NoSQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Avoid the UnmodifiableCollection at the list

otaviojava opened this issue · comments

@Entity("vendors")
public class Vendor implements Serializable {
       @Id
        private  String name;

        @Column
        private Set<String> prefixes;

        Vendor() {}

        public Vendor(String name) {
                this.name = name;
                prefixes = Collections.emptySet();
        }
}

The above pull request fixes this issue - so this can now be closed!

Nice. Thank you for the feedback and help.