I am trying to figure out the annotations for a map of basic java types:
Map<String, Set<String>> keywords
Set<String> keywords
@OneToMany(cascade=CascadeType.ALL)
@Column(name="keyword")
@JoinTable(table=@Table(name="recipe_keywords"),
joinColumns=@JoinColumn(name="id_recipe"))
public Set<String> getKeywords() {
return keywords;
}