Query by datetime in JDOQL / Java / GAE
- by Jan Kuboschek
I'm working on a GAE app. I want to query datastore and retrieve all records between startDate and endDate. Each record has a datetime field. I'm using a query similar to this (the below code is something I quickly grabbed - I'm not near my developer machine.):
Query query = pm.newQuery(Employee.class);
query.setFilter("lastName ==…