Thanks for the report Steve, looks like a bug.  The information in the error
message is still relevant though.  The datastore does not support real
regular expression matching, but rather just "startsWith" filters.  So, if
your regex can be rewritten to use "GrpName.startsWith()" then you can use
that as your workaround, but if it can't be written this way then the
datastore won't be able to fulfill this query even once this bug is fixed.

Sorry for the trouble,
Max

On Wed, Jan 13, 2010 at 3:42 AM, Steve Pritchard <steve...@gmail.com> wrote:

> I get this exception.
>
> viewItemByQuery
> Exception:org.datanucleus.store.appengine.query.DatastoreQuery
> $UnsupportedDatastoreFeatureException: Problem with query <SELECT FROM
> com.rsi.gems.bbb.gdo.GdoSysGroups WHERE this.GrpName.matches(".*")>:
> Wildcard must appear at the end of the expression string (only prefix
> matches are supported)
>
> The Datanucleus doc clearly states this is a String Regex expression
> which is what I have.
>
> To quote: Returns whether string matches the passed expression. The
> pattern argument follows the rules of java.lang.String.matches
> method.
>
> How do I proceed?
>
> Steve
>
> --
> 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
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> 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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to