Persistence Model Inspection Problem
@OneToMany(mappedBy = "parent")
@MapKey(name = "name")
@Sort(type = SortType.NATURAL)
protected SortedMap<String, Child> children;
Gives error:
"@javax.persistence.OneToMany" attribute container type is not valid
In the "Persistence Model Errors" inspection.
What is technically wrong with the above?
Please sign in to leave a comment.