[jira] Commented: (JDO-194) JPOX does not support implicit variables.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Commented: (JDO-194) JPOX does not support implicit variables.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Commented: (JDO-194) JPOX does not support implicit variables.  
Andy Jefferson (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-05 12:45 PM

[ 
> JPOX does not support implicit variables.
> -----------------------------------------
>
>          Key: JDO-194
>          URL: [url]http://issues.apache.org/jira/browse/JDO-194" target="_blank">http://issues.apache.org/jira/brows.../browse/JDO-194
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Erik Bengtson

>
> JPOX throws an exception executing queries having implicit parameters (see
 below). The bug may be reproduced executing test case org.apache.jdo.tck.qu
ery.jdoql.variables.VariablesAndFields.
> Query: SELECT FROM org.apache.jdo.tck.pc.company.Employee WHERE team.conta
ins(employee) & employee.firstname == 'emp1First'
> org.jpox.store.exceptions.NoSuchPersistentFieldException: Field "employee"
 does not exist in org.apache.jdo.tck.pc.company.Person or is not persistent
> 	at org.jpox.store.rdbms.table.ClassTable.getFieldMapping(ClassTable.java:
1790)
> 	at org.jpox.store.expression.TableExpression.newFieldExpression(TableExpr
ession.java:183)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileIdentifier(JDOQLQuery.
java:1534)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compilePrimary(JDOQLQuery.jav
a:1299)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileUnaryExpressionNotPlus
Minus(JDOQLQuery.java:1245)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileUnaryExpression(JDOQLQ
uery.java:1226)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileMultiplicativeExpressi
on(JDOQLQuery.java:1179)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileAdditiveExpression(JDO
QLQuery.java:1156)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileRelationalExpression(J
DOQLQuery.java:1125)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileEqualityExpression(JDO
QLQuery.java:1102)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileAndExpression(JDOQLQue
ry.java:1090)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileExclusiveOrExpression(
JDOQLQuery.java:1078)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileInclusiveOrExpression(
JDOQLQuery.java:1066)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileConditionalAndExpressi
on(JDOQLQuery.java:1054)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileConditionalOrExpressio
n(JDOQLQuery.java:1036)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileExpression(JDOQLQuery.
java:1013)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compilePrimary(JDOQLQuery.jav
a:1346)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileUnaryExpressionNotPlus
Minus(JDOQLQuery.java:1245)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileUnaryExpression(JDOQLQ
uery.java:1226)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileMultiplicativeExpressi
on(JDOQLQuery.java:1179)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileAdditiveExpression(JDO
QLQuery.java:1156)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileRelationalExpression(J
DOQLQuery.java:1125)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileEqualityExpression(JDO
QLQuery.java:1102)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileAndExpression(JDOQLQue
ry.java:1090)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileExclusiveOrExpression(
JDOQLQuery.java:1078)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileInclusiveOrExpression(
JDOQLQuery.java:1066)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileConditionalAndExpressi
on(JDOQLQuery.java:1054)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileConditionalOrExpressio
n(JDOQLQuery.java:1036)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileExpression(JDOQLQuery.
java:1013)
> 	at org.jpox.store.query.JDOQLQuery$Compiler.compileQueryStatement(JDOQLQu
ery.java:891)
> 	at org.jpox.store.query.JDOQLQuery.compile(JDOQLQuery.java:569)
> 	at org.jpox.store.query.JDOQLQuery.performExecute(JDOQLQuery.java:639)
> 	at org.jpox.store.query.Query.executeWithMap(Query.java:907)
> 	at org.jpox.store.query.Query.executeWithArray(Query.java:887)
> 	at org.jpox.store.query.Query.execute(Query.java:819)
> 	at org.apache.jdo.tck.query.QueryTest.execute(QueryTest.java:706)
> 	at org.apache.jdo.tck.query.QueryTest.executeAPIQuery(QueryTest.java:625)
> 	at org.apache.jdo.tck.query.QueryTest.executeAPIQuery(QueryTest.java:601)
> 	at org.apache.jdo.tck.query.jdoql.variables.VariablesAndFields.testPositi
ve(VariablesAndFields.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.textui.TestRunner.doRun(TestRunner.java:116)
> 	at junit.textui.TestRunner.doRun(TestRunner.java:109)
> 	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120
)
> 	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:57 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register