Is it possible to have following collection mapping in JPA / hibernate
@OneToMany(cascade={CascadeType.PERSIST, CascadeType.REFRESH, CascadeType.MERGE},
fetch=FetchType.LAZY,mappedBy="parent")
private Deque<Child> childrens;
It throws error
Illegal attempt to map a non collection as a @OneToMany, @ManyToMany or @CollectionOfElements
I am using JPA 2.0 with Hibernate 3