The datastore isn't a SQL database. Try this query:

select from Message where confirmed = true and name <http://m.name> =
"something"

Alternatively, try programmatically setting your filters:

Query q = new Query(Message.class);
q.setFilter("confirmed", true);

On Sun, Feb 28, 2010 at 4:33 AM, Davide Cerbo <[email protected]> wrote:

> I'm sorry, the error isn't with atpersand, but is with dot.
> Examples:
> Message
> id, name
> 1, [email protected]
>
> 2, other_value
> 3, other_value
> 4, [email protected]
>
> And the query that give me an empty resultset is:
>
> select m from Message m where m.confirmed = true and m.name =
> '[email protected]'
>
> bye,
> Davide
>
>
> 2010/2/27 jesty <[email protected]>
>
> Hi all,
>> I have the follow table:
>>
>> Message
>> id, name
>> 1, t...@example
>> 2, other_value
>> 3, other_value
>> 1, t...@example
>>
>> in my application I perform this simple query:
>>
>> select m from Message m where m.confirmed = true and m.name =
>> 't...@example'
>>
>> But doesn't works, while
>>
>> select m from Message m where m.confirmed = true and m.name =
>> 'other_value'
>>
>> works well.
>>
>> Why? I don't understand what happens :)
>> Thank to everyone.
>> Davide
>>
>> --
>> 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.
>>
>>
>
>
> --
> --
> Davide Cerbo
> -----------
> http://davide.cerbo.born-to-co.de
> http://jesty.it
> -----------
> http://www.exmachina.ch
> + 39 329 70 81 927
> -----------
>
> --
> 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.
>



-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
http://googleappengine.blogspot.com | http://twitter.com/app_engine

-- 
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