Apache JDO Project - TCK : ResultClassRequirements.testNegative

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > November 2005 > TCK : ResultClassRequirements.testNegative





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 TCK : ResultClassRequirements.testNegative
Andy Jefferson

2005-11-26, 5:45 pm

Quick question about the INVALID_QUERIES. The first one has

SELECT personid, lastname INTO
org.apache.jdo.tck.query.result.classes.LongString FROM
org.apache.jdo.tck.pc.company.FullTimeEmployee

Now referring to 14.6.12, the impl needs to find a constructor taking the
expressions by position and type. It finds a constructor
LongString(long,String) and so can use it to create a result object. Why is
this supposed to throw an exception exactly ? OK, the expressions don't have
the same names as the fields in the result class, but is that important ?

--
Andy

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com