db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferson <a...@jpox.org>
Subject TCK : ResultClassRequirements.testNegative
Date Wed, 23 Nov 2005 16:30:34 GMT
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

Mime
View raw message