hey .. check out the following link.. M not sure but i guess in gae we can have more than 1 inequality operators on a single property. So as suggested in the following link, u cn chk for <= and also add >= on ur date field and the result should give records with date '=' to that of ur date value .. Just a suggestion. M new to gae too .. hope this helps ...
regards suchitra http://stackoverflow.com/questions/3600779/google-app-engine-jdo-use-date-in-filter On Fri, Aug 12, 2011 at 8:18 AM, Vik <[email protected]> wrote: > any help on this plz? > > Thankx and Regards > > Vik > Founder > http://www.sakshum.org > http://blog.sakshum.org > > > On Tue, Aug 9, 2011 at 8:51 PM, Vik <[email protected]> wrote: > >> Hie >> >> I am trying to execute following query: >> >> Query query = pm.newQuery(AdUsage.class, "smsUseDate == :smsUseDate && " + >> " vendorSeq == :vendorSeq"); >> List<AdUsage> usageList = (List<AdUsage>)query.execute(today, >> chosenVendorSeq); >> >> >> the vendorSeq is matching and the passed date is: Tue Aug 09 00:00:00 >> UTC 2011 >> >> In AdUsage table i have value for: Tue Aug 09 00:00:00 UTC 2011 >> >> but it fails to match. any clues why? >> >> Thankx and Regards >> >> Vik >> Founder >> http://www.sakshum.org >> http://blog.sakshum.org >> > > -- > 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. > -- 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.
