I tried several variations but none worked for me. The annotated mappings did not take place (i.e. mapped fields not populated by Hibernate). I knew I am doing something wrong or lack thereof some essentials. If I may run this by you, please help point out what I need to do to make this work.
I have 4 Classes: Business, Category, Consumer, PurchasedItem.
POJO Class Business:
POJO Class Category:
POJO Class Consumer:
POJO Class PurchasedItem:
After I created new rows for each class, none of the JoinColummn(s) specified under @ManyToOne or @OneToMany was populated with mapped data. E.g.