Java program to demonstrate the use of different inheritance mapping strategies (Joined, Table Per Class, Single Table) in Hibernate