@ElementCollection(targetClass = DocArea.class)
@CollectionTable(name = "area_doc",
joinColumns = @JoinColumn(name = "id_doc"))
@Column(name = "id_area")
public List
return areas;
}
where Area is an enumeration.
It was a version incompatibility between the hibernate3 plugin and Hibernate itself. I found out you can override a plugin's dependencies in the configuration of the plugin itself thanks to Ivar's post.
No comments:
Post a Comment