Problem using date when querying the appengine datastore
- by manu1001
I'm running this query:
SELECT FROM com.Data WHERE entryDate DATE('2010-3-16')
I get this error:
org.datanucleus.store.appengine.query.DatastoreQuery$UnsupportedDatastoreFeatureException: Problem with query DATE('2010-3-16'): Unsupported method while parsing expression: InvokeExpression{[null].DATE(Literal{2010-3-16})}
The same query works when I use it on the admin console. But it does not work for code (java), either locally or when deployed. Any ideas?