App Engine - Query using a class member as parameter
- by Zach
I have a simple class, relevant details below:
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class SimpleCategory implements Serializable{
...
public static enum type{
Course,
Category,
Cuisine
}
@Persistent
public type t;
...
}
I am attempting to query all SimpleCategory objects of the same type.
public…