0 Replies Last post: Sep 8, 2008 9:42 PM by Michael Newcomb  
Michael Newcomb Newbie 24 posts since
Dec 8, 2005
Currently Being Moderated

Sep 8, 2008 9:42 PM

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?

More Like This

  • Retrieving data ...