I now have a workaround for this issue, which is documented here:
https://stackoverflow.com/questions/46577615/hibernate-where-annotation-not-working-with-inheritance