Can you please try declare the date parameter and let the library help you
pass it in?
WHERE date > :date
query.setParameter("date", date);On Fri, May 7, 2010 at 12:19 PM, CodeMan <[email protected]> wrote: > Hi, > I am trying to fetch all records after a timestamp with this query > > select from com.chinua.Entity.Comment where date > 'Sat Apr 17 > 21:40:05 UTC 2010' order by date desc > > The query just returns 0 records but there dates after Sat Apr 17. > > Can anyone help me out? > > Thanks > CHINUA > > -- > 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]<google-appengine-java%[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.
