Re: [appengine-java] Simplest key query

2010-10-02 Thread andy stevko
Hi Paul, FWIW, Here is a slightly edited version of my JDO query by id. Perhaps it can help you get over this bump. @SuppressWarnings("unchecked") public Account lookupAccountById( PersistenceManager pm, Long accountId) { logger.fine("looking up account id=" + accountId ); // look up

[appengine-java] Simplest key query

2010-10-01 Thread Paul
Hi, I must admit that my db knowledge is very lacking, thus I need some help with making a simple query. I know I am just missing smth obvious and easy. Anyway, what I need is just a boolean method to check if enity exists. I am using Guice too, for binding all stuff. I know that the query synt