Hi I am trying to fetch all records from my database table which have DateTime field value less than a given date. To generate the given date I am using new java.util.Date(). The query generates the following error. I have no clue how should I resolve the following error.
javax.jdo.JDOUserException: Portion of expression could not be parsed: Sep 29 06:32:52 UTC 2010 && status == "ready" at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:375) at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:230) Following is my query: SELECT FROM com.test.database.Test WHERE date != null && date < Wed Sep 29 06:59:19 UTC 2010 && status == "ready" It will be great if anyone can provide some way to resolve this issue. Thanks -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
