The latest version of the JDO spec disallows JDOQL queries projecting a collection or map field, e.g.
SELECT p.phoneNumbers FROM org.apache.jdo.tck.pc.company.Person p
SELECT d.employees FROM org.apache.jdo.tck.pc.company.Department d
We should add a test method running the above queries which should result in a JDOException.
Description
The latest version of the JDO spec disallows JDOQL queries projecting a collection or map field, e.g.
SELECT p.phoneNumbers FROM org.apache.jdo.tck.pc.company.Person p
SELECT d.employees FROM org.apache.jdo.tck.pc.company.Department d
We should add a test method running the above queries which should result in a JDOException.