Apache JDO Project - [jira] Assigned: (JDO-524) SELECT lastname INTO java.lang.Long - is

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > September 2007 > [jira] Assigned: (JDO-524) SELECT lastname INTO java.lang.Long - is





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Assigned: (JDO-524) SELECT lastname INTO java.lang.Long - is
Craig Russell (JIRA)

2007-09-07, 1:12 pm


[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]

Craig Russell reassigned JDO-524:
---------------------------------

Assignee: Michael Bouschen

Changing the type of the selected element from lastname to something else should fix this.

> 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
> Assignee: Michael Bouschen
>
> 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.


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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com