
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
15/Mar/06 06:33 AM
|
|
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. |
Show » |
|
JDO-320.patch for review. It adds the two negative test queries to the ResultExpressions class.Please note, that the current JPOX version currently accepts JDOQL queries returning a collection field, so the negative test fails.