Avoid the UnmodifiableCollection at the list
otaviojava opened this issue · comments
Otávio Santana commented
@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();
}
}
Adam Waldenberg commented
The above pull request fixes this issue - so this can now be closed!
Otávio Santana commented
Nice. Thank you for the feedback and help.