Did you solve this issue? I have the same problem... On Mar 14, 6:18 pm, Steve Osborne <[email protected]> wrote: > My Development Console athttp://localhost:8888/_ah/admin/datastore > shows that I have data uploaded but how do I access it using Java? > > I wasn't able to retrieve any record using the following lines of code > and there were no errors > > pm = PMF.get().getPersistenceManager(); > query= pm.newQuery(Listing.class); > query.setFilter("zipCode == zipCodeParam"); > query.declareParameters("String zipCodeParam"); > results = (List<Listing>)query.execute("27502"); > if (results.iterator().hasNext()) { > for (Listing e : results) { > // ... > } > } else { > // ... no results ... > }
-- 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.
