I did the below testing
Map map = new HashMap();
map.put("username", "abc");
List result = service.search("select c from
com.company.testing.model.Usertest c where c.username = :username",
map) ;
System.out.println("...."+result.size()); //return 0 ; cannot
search by field?
Map map = new HashMap();
map.put("username", "abc");
List result = service.search("select c from
com.company.testing.model.Usertest c where c.username
like :username", map) ;
System.out.println("...."+result.size()); //objectmanager closed ,
hang ; cannot use "like" ?
--
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.