Taking a guess here - Date is being serialized to its String format. Try
programmatically creating filters instead:

http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Mon, Dec 27, 2010 at 7:08 AM, Vik <[email protected]> wrote:

> Hie
>
> Can someone guide what is the issue with this query and how to fix? data
> type is of java.sql.Date
>
>  Date todayDate = new Date();
>  query = "select from " + PocVacationSchedule.class.getName() + " where
> endDate >=" +  todayDate + " and pocId ==10";
>
>
> Thankx and Regards
>
> Vik
> Founder
> www.sakshum.com
> www.sakshum.blogspot.com
>
> --
> 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.

Reply via email to