Re: [appengine-java] Re: javax.jdo.JDOUserException: Portion of expression could not be parsed: @email.com

2011-01-13 Thread susheel kumar
Thanks a lotI used escape characters for those special
characters...anyway the once which u suggested is better...

On Thu, Jan 13, 2011 at 11:56 AM, Charms Styler wrote:

> Most elegant way to pass query params is as follows otherwise you may run
> into special chars that could ruin ur app as in this case..
>
> q.addFilter("login_Id", Query.FilterOperator.EQUAL, login_Id);
> q.addFilter("userPassword", Query.FilterOperator.EQUAL, userPassword);
>
>
>  --
> 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-java@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.
>



-- 
With regards,
Susheel
09886275353

What we have done for ourselves alone dies with us;
 What we have done for others and the world remains and is immortal.

-- 
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-java@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.



[appengine-java] Re: javax.jdo.JDOUserException: Portion of expression could not be parsed: @email.com

2011-01-12 Thread Charms Styler
Most elegant way to pass query params is as follows otherwise you may run 
into special chars that could ruin ur app as in this case..

q.addFilter("login_Id", Query.FilterOperator.EQUAL, login_Id);
q.addFilter("userPassword", Query.FilterOperator.EQUAL, userPassword);


-- 
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-java@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.