db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilan Kirsh (JIRA)" <j...@apache.org>
Subject [jira] Created: (JDO-524) SELECT lastname INTO java.lang.Long - is a negative test?
Date Thu, 06 Sep 2007 15:32:31 GMT
SELECT lastname INTO java.lang.Long - is a negative test?

                 Key: JDO-524
                 URL: https://issues.apache.org/jira/browse/JDO-524
             Project: JDO
          Issue Type: Test
          Components: tck2
    Affects Versions: JDO 2 final
            Reporter: Ilan Kirsh

The second negative test query in org.apache.jdo.tck.query.result.ResultClassRequirements
  "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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message