the following QueryException occours if we execute the JPQL: SELECT b FROM A a INNER JOIN a.bs b INNER JOIN FETCH b.someOtherLongs. Without the INNER JOIN FETCH b.someOtherLongs it works fine. The attribute someOtherLongs is a @ElementCollection
TestCases are attached
I don't know if this should be transitioned to be a Hibernate core issue but this still affects Hibernate 5.2.2.
This Jira project is used for very special query parser that is only used outside of Hibernate ORM. Did you mean to report this problem as occurring when using Hibernate ORM?
Your tests seem to use Hibernate ORM, so it would in fact seem you just picked the wrong project - moved.