Hello Petar,
Again thanks for your reply.
But I don't understand your solution.
I your solution the Category object does not have childs, but as you can see in my previous post the Category object has a list of classifications. Should be something like this:
I understand that I can define a 'inverse' field for making the relationship between the Category and CategoryClassifications.
If I understand correctly the
private Category categoryInv;
within the 'CategoryClassification' class makes sure the class 'Category' can hold a list of CategoryClassifications.
But, the CategoryClassification class is constructed to hold a tree of classifications.
The child list of a category should only contain the root elements of the classification tree.
How do I make sure the 'Category.Childs' list holds only the root elements of the tree.
Is the OpenAccessORM framework adding a thirth (hidden) table to hold only root elements of the classification??
Greetings
Peter