Is it possible to make a relationship to the same EJB object?
For example, as in a tree structure.
.......| --> a1 ---> aa1 --> aa2
.......|--> b1 ---> bb1
As seen as above, ROOT is a TreeNode, a1, aa1, aa2, b1, bb1 are also TreeNode(s).
In fact, a TreeNode has many other TreeNode(s).
A TreeNode belongs only one parent TreeNode.
Is it possible to define the relationship as above ?
Sure, this is a simple 1:N self relationship.