views:

28

answers:

1

Ive hit a wall using objectify for the google appengine datastore when filtering on boolean values

this is roughly what ive:

class Task implements Serializable { ... boolean failed; ... }

no matter what i do when i search, i always get an empty response although there are objects in the db that has failed=false

examples:

ofy().query(Task.class).filter("failed",false).list() ofy().query(Task.class).filter("failed",Boolean.FALSE).list() ofy().query(Task.class).filter("failed",0).list() ofy().query(Task.class).filter("failed","false").list() ofy().query(Task.class).filter("failed","FALSE").list()