In Hibernate is it possible to use column from joined table as a discriminator in the main table?
Here is my example.
Main table mapping: