Just out of curiosity, what happens when you do it with a parameter?  Also note 
that I've simplified your query; I'm looking at the DataNucleus example for an 
implicit parameter (http://xrl.in/47e5).

Query query = pm.newQuery("select from com.testing.model.Usertest.class where 
username = :nameParam");
List results = (List) query.execute("test");


asianCoolz wrote:
may i know is this correct jpa query?

  Query query = entityManager.createQuery("select c from
com.testing.model.Usertest c where c.username = 'test' ");

after i did query.getResultList(). It's zero.  Please point out where
i did wrong

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to