What I'm saying is I'm using EMF and writing JPQL and "<>" is not working, which it should since it is the valid operator for inequality. Are you saying it works for you?
dave On Nov 1, 12:27 am, datanucleus <[email protected]> wrote: > > 1). I can't seem to get "!=" working either. > > I have no such problems with JDOQL, but then you're using it in GAE/J > with an old version of DataNucleus. > > > 2) If I have mapped my objects using JPA annotations, will the query > > engine default to JDOQL vs JPQL? > > The type of metadata specification ... JDO XML, JDO Annotations, JPA > XML, JPA Annotations ... has nothing to do with the persistence API > being used (in DataNucleus). If you create a PMF then you use JDO API, > if you create an EMF then you use JPA API. JPA API only allows JPQL > queries (you can't use JDOQL). JDO API allows JDOQL or JPQL queries, > using the API to define what you're using; see the JDO javadocs. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
