… if I have the following bean for instance (as an example from here):
@Entity
@Table(name = "tree")
public class Node {
@Id
@GeneratedValue
private Integer id;
@NotNull
private String name;
@OneToMany
@JoinColumn(name = "parent_id")
@OrderColumn
private List<Node> children = new LinkedList<Node>();
...
}
Is it possible in IntelliJ 12.0 ultimate to create schema and hibernate mapping from the bean? I found lots of references on generating beans from existing schemas, but not the other way around.
Or am I asking for a bit much?
It’s not possible yet, I’ve created a new feature request, please start/vote.