是否可以在 JPA / hibernate 中有以下集合映射
@OneToMany(cascade={CascadeType.PERSIST, CascadeType.REFRESH, CascadeType.MERGE},
fetch=FetchType.LAZY,mappedBy="parent")
private Deque<Child> childrens;
它抛出错误
Illegal attempt to map a non collection as a @OneToMany, @ManyToMany or @CollectionOfElements
我正在将 JPA 2.0 与 Hibernate 3 一起使用