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

SELECT lastname INTO java.lang.Long - is a negative test?

    Details

      Description

      The second negative test query in org.apache.jdo.tck.query.result.ResultClassRequirements is:
      "SELECT lastname INTO java.lang.Long FROM org.apache.jdo.tck.pc.company.FullTimeEmployee".

      Exception is expected by the test, but because java.lang.Long has a constructor with one string argument - this query should be valid, unless the spec defines special rules for java.lang wrapper types as result types.

        Attachments

        1. JDO-524.patch
          1 kB
          Michael Bouschen

          Activity

            People

            • Assignee:
              mbo Michael Bouschen
              Reporter:
              kirsh Ilan Kirsh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: