Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-320

Add negative query test for projecting a map and collection field to tck20

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JDO 2 rc1
    • JDO 2 final (2.0)
    • tck
    • None

    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.

      Attachments

        1. JDO-320.patch
          2 kB
          Michael Bouschen

        Activity

          People

            ebengtso Erik Bengtson
            mbo Michael Bouschen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: