I am seeing the exact same problem in my own code:
the generated SQL has the correct alias ("a" in the example) for the superclass table, but the filter condition is put in the wrong join clause.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
I am seeing the exact same problem in my own code:
the generated SQL has the correct alias ("a" in the example) for the superclass table, but the filter condition is put in the wrong join clause.