Hi, I have a persistance class. now i want to query with its key and
other one field.
I have tried in this waya
Query qry2 = pm.newQuery(File.class);
qry2.setFilter(key == keyParam);
qry2.setFilter(initialVersion = version);
qry2.declareParameters(com.google.appengine.api.datastore.Key
keyParam,
Check this out
http://gae-java-persistence.blogspot.com/2010/01/querying-with-key-parameters.html
Key is special datatype and you will need to use help API by Google to
re-create the key before passing it in.
On Sun, May 30, 2010 at 9:47 PM, Dormand mfjhs...@gmail.com wrote:
Hi, I have a