I feel like I'm missing something simple but for the life of me I
can't figure out why I cannot use the regular does not equal symbol in
my query syntax. Every time I switch the from "=" to "!=" I receive
the following exception.
Caused by: org.datanucleus.store.query.QueryCompilerSyntaxException:
Portion of expression could not be parsed: != :week
at org.datanucleus.query.compiler.JPQLParser.parse(JPQLParser.java:
72)
at org.datanucleus.query.compiler.JavaQueryCompiler.compileFilter
(JavaQueryCompiler.java:294)
at org.datanucleus.query.compiler.JPQLCompiler.compile
(JPQLCompiler.java:75)
at org.datanucleus.store.query.AbstractJPQLQuery.compileInternal
(AbstractJPQLQuery.java:246)
at org.datanucleus.store.query.Query.setImplicitParameter(Query.java:
690)
at org.datanucleus.jpa.JPAQuery.setParameter(JPAQuery.java:428)
The SQL is: "WHERE t.week != :week order"
According to the Python GQL documentation (http://code.google.com/
appengine/docs/python/datastore/gqlreference.html) the syntax that I
am using is supported. Is it just not supported by the Java engine or
am I doing something incorrectly?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---