Got it!!!

http://gae-java-persistence.blogspot.com/2010/01/querying-with-key-parameters.html



Thanks Max Ross, the blogger.


Basically I have to use the following syntax instead of regular String
builder:

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height:
15.0px} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco;
color: #492df6} span.s1 {color: #971365} span.s2 {color: #000000}
span.Apple-tab-span {white-space:pre}



Query query = pm.newQuery(PField.class,

"pobject == :p");

List<PField> results = (List<PField>)query.execute(object);

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to