any advise on this please?

Thankx and Regards

Vik
Founder
http://www.sakshum.org
http://blog.sakshum.org


On Mon, Aug 8, 2011 at 2:57 PM, Vik <[email protected]> wrote:

> Hie
>
> I am unable to find the issue with
>
> query = pm.newQuery(AdSetup.class, ":planEndDate <= planEndDate && " +
>  " :vendorSeqList.contains(vendorSeq)");
> @SuppressWarnings("unchecked")
>  List<AdSetup> setupList = (List<AdSetup>)query.execute(new Date(),
> vendorSeqList);
>
>
> The error i am getting is:
>
>
> org.datanucleus.store.appengine.query.DatastoreQuery$UnsupportedDatastoreFeatureException:
> Problem with query <SELECT FROM vik.sakshum.sakshumweb.server.jdo.AdSetup
> WHERE :planEndDate <= planEndDate &&  :vendorSeqList.contains(vendorSeq)>:
> Unexpected expression type while parsing query:
> org.datanucleus.query.expression.ParameterExpression
>  at
> org.datanucleus.store.appengine.query.DatastoreQuery.addExpression(DatastoreQuery.java:1099)
> at
> org.datanucleus.store.appengine.query.DatastoreQuery.addExpression(DatastoreQuery.java:1074)
>  at
> org.datanucleus.store.appengine.query.DatastoreQuery.addExpression(DatastoreQuery.java:1053)
> at
> org.datanucleus.store.appengine.query.DatastoreQuery.addFilters(DatastoreQuery.java:1031)
>  at
> org.datanucleus.store.appengine.query.DatastoreQuery.performExecute(DatastoreQuery.java:238)
> at
> org.datanucleus.store.appengine.query.JDOQLQuery.performExecute(JDOQLQuery.java:92)
>  at org.datanucleus.store.query.Query.executeQuery(Query.java:1489)
> at org.datanucleus.store.query.Query.executeWithArray(Query.java:1371)
>  at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:266)
>
>
> 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.

Reply via email to