Hi,
I discovered the keywords "null" and "not null" for the @DiscriminatorValue annotation value and it seems to match my need. (To have a default Entity class in my inheritance strategy.
However, before considering using this feature in my application and deploy it in production environment, I would like to find some documentation about it.
I don't want to use a "hidden feature" which could be removed in a newer version.
Is there some (official?) documentation on this feature?
The only reference I found was:
Quote:
discriminator-value (optional - defaults to the class name): a value that distinguishes individual subclasses that is used for polymorphic behavior. Acceptable values include null and not null.
(from
https://docs.jboss.org/hibernate/orm/4. ... tion-class)
Sorry for my poor english...