By this inheritance strategy, we can map the whole hierarchy by single table only. Here, an extra column (also known as discriminator column) is created in the table to identify the class.
...................................................................................................................................
If you want its code, then give your email address in the comment box.
#hibernate
#programminggalaxy