What and when is the best scenario to use DiscriminatorValue annotation in hibernate?
When you have an entity inheritance using the single table strategy, and you want the value of the discriminator column to be something other than the name of the class of the entity concrete class, or when the type of the discriminator column is not STRING.
This is explained, with an example, in the javadoc.