When enabling a filter on a simple class hierarchy, the filter condition gets applied to all tables in the hierarchy, instead of the one where the filter is defined.
This causes a SQL statement to be generated with a where-clause that has invalid column names, making the simplest of queries fail.
See https://forum.hibernate.org/viewtopic.php?f=1&t=1034596 for a more detailed explanation.
Test case will be provided.
|