Hey Guit,

Could you also post the data object class code (Espace.class)?

In the meantime, you can also try some debugging alternatives with
http://www.datanucleus.org/products/accessplatform_1_0/jdo/jdoql.html
as your guide.

Jake

On Mar 30, 6:36 pm, Guit <lemoin...@gmail.com> wrote:
> Anybody ? Someone look at my class and say to me ot should work but it
> doesn t and i habe still no ide why ... Please :)
> On 30 mar, 00:09, Guit <lemoin...@gmail.com> wrote:
>
> > Hi everybody,
> > I am trying to build my application and i am facing a very strange
> > issue : here is the code :
> > PersistenceManager pm=PMF.get().getPersistenceManager();
>
> >                         Query query=pm.newQuery(Espace.class);
> >                         //query.setFilter("nom == paramAuthor");
> >                         //query.declareParameters("java.lang.String 
> > paramAuthor");
> >                         List<Espace> results ;
> >                         results=(List<Espace>) query.execute();//"_66");
> >                         for (int i=0;i<results.size();i++){
> >                                 Espace es=results.get(i);
> >                                 System.out.println(es.getNom());
> >                         }
> >                         return results;
> > When i run it i obtain a long list of name :
> > ...
> > _65
> > _66
> > _67
> > ...
>
> > When I remove comment and execute the query , i have no result...
> > I really don't understand why...
> > If you have an idea... it would be very nice to help me :)
> > Guit

-- 
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