Did you mean to query select m.department.organisation from Member m where m.name=:name?
Not related to the bug, but just curious? ----- Pinaki Poddar Chair, Apache OpenJPA Project -- View this message in context: http://openjpa.208410.n2.nabble.com/jira-Created-OPENJPA-2058-Nested-JPQL-sub-selects-generate-invalid-SQL-tp6884241p6906741.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.
