I've declared model like this:
When I try to create a HQL query like this:
it's translate to:
As a one WorkOrder.assignedTo can't be on both type at same time I always get 0 records.
If I change inner join of inheritance tables to left join I get the right result:
linux, postgreSQL 9.3