How can I express the relationship between two independent entities in Hibernate?
There are fix number of Tabs and a Role class contains a collection of one or more tabs.
Both tab and role class independent i.e creation of Role does not create a tab entity and
I have seen one net are of dependent entities e,g product - item or item - image ect where
one-to-many or many-to-one hibernate examples make sense. But somehow it does not seem to
work for relationships as between Role and Tab as explained above.
Can someone pls guide?
Thanks in Advance