
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
29/Nov/05 07:56 PM
|
|
The test ResultClassRequirements.testConstructor has a query
SELECT new LongString(personid, lastname) FROM org.apache.jdo.tck.pc.company.FullTimeEmployee
This is missing an "import" of LongString - the JDO impl cannot guess that it is stored under "org.apache.jdo.tck.query.result.classes"
The same may apply to other queries under that test.
|
|
Description
|
The test ResultClassRequirements.testConstructor has a query
SELECT new LongString(personid, lastname) FROM org.apache.jdo.tck.pc.company.FullTimeEmployee
This is missing an "import" of LongString - the JDO impl cannot guess that it is stored under "org.apache.jdo.tck.query.result.classes"
The same may apply to other queries under that test. |
Show » |
|
[java] 2) testConstructor(org.apache.jdo.tck.query.result.ResultClassRequirements)javax.jdo.JDOUserException: Use of "new" in JDOQL queries must be followed by a valid class name, yet LongString is not found. Please check the imports for this query.
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileIdentifier(JDOQLQuery.java:1645)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compilePrimary(JDOQLQuery.java:1383)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileUnaryExpressionNotPlusMinus(JDOQLQuery.java:1331)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileUnaryExpression(JDOQLQuery.java:1312)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileMultiplicativeExpression(JDOQLQuery.java:1265)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileAdditiveExpression(JDOQLQuery.java:1242)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileRelationalExpression(JDOQLQuery.java:1202)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileEqualityExpression(JDOQLQuery.java:1179)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileAndExpression(JDOQLQuery.java:1167)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileExclusiveOrExpression(JDOQLQuery.java:1155)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileInclusiveOrExpression(JDOQLQuery.java:1143)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileConditionalAndExpression(JDOQLQuery.java:1131)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileConditionalOrExpression(JDOQLQuery.java:1113)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileExpression(JDOQLQuery.java:1090)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileExpressionFromString(JDOQLQuery.java:1051)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileExpressionsFromString(JDOQLQuery.java:1076)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.compileResult(JDOQLQuery.java:808)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.performCompile(JDOQLQuery.java:681)
[java] at org.jpox.store.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:669)
[java] at org.jpox.store.query.JDOQLQuery.performExecute(JDOQLQuery.java:386)
[java] at org.jpox.store.query.Query.executeWithMap(Query.java:966)
[java] at org.jpox.store.query.Query.executeWithArray(Query.java:939)
[java] at org.jpox.store.query.Query.execute(Query.java:862)
[java] at org.apache.jdo.tck.query.QueryTest.execute(QueryTest.java:1141)
[java] at org.apache.jdo.tck.query.QueryTest.execute(QueryTest.java:1027)
[java] at org.apache.jdo.tck.query.QueryTest.executeAPIQuery(QueryTest.java:926)
[java] at org.apache.jdo.tck.query.QueryTest.executeAPIQuery(QueryTest.java:906)
[java] at org.apache.jdo.tck.query.result.ResultClassRequirements.executeQuery(ResultClassRequirements.java:457)
[java] at org.apache.jdo.tck.query.result.ResultClassRequirements.testConstructor(ResultClassRequirements.java:431)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
[java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
[java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)