[hibernate-issues] [JIRA] (HHH-16988) AssertionError in AbstractSqmPath.copyTo when using subquery correlated to root with more than 1 level in the class hierarchy