I have a JPA tree structure like this:
@Entity @Table(name = "section")
public class Section implements Serializable {
@ManyToOne @JoinColumn(name = "parent")
private Section parent;
@OneToMany(mappedBy = "parent")
private java.util.Set<Section> section = new java.util.HashSet<Section>();
}
I want to display this in a TreeWidget. Is this possible?
@Entity @Table(name = "section")
public class Section implements Serializable {
@ManyToOne @JoinColumn(name = "parent")
private Section parent;
@OneToMany(mappedBy = "parent")
private java.util.Set<Section> section = new java.util.HashSet<Section>();
}
I want to display this in a TreeWidget. Is this possible?
Comment