added an example of using discriminator column using Hibernate annotations