[appengine-java] Workaround for like keyword in JDOQL
Hi All, I am developing a resource allocation application in GAE with Java. Since there is no like keyword in JDOQL, I am unable to do search in database based on a keyword. For example, I want to list all the employees who have 'ash' word in their name. I have already wasted 3 days due to this problem. So please suggest me some workaround to achieve above this goal. Thanks in advance. Regards, Piyush Jain -- 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.
[appengine-java] Re: Workaround for like keyword in JDOQL
Thanks to all. On Feb 12, 6:27 am, yjun hu wrote: > you can try compass to search > > On Fri, Feb 12, 2010 at 7:03 AM, John Patterson wrote: > > > > > The usual approach to complex queries in GAE is to process your data before > > you need to query it. So in this case for each person create an "index > > entity" which simply contains a list of partial names e.g. "Pliyush", > > "iyush", "yush", "ush" > > > Then do a keys-only range query for the name part e.g. "iyu" (look into how > > to do range queries). Then take the result key's parent and look up the > > Person entity. > > > On 11 Feb 2010, at 18:26, Piyush wrote: > > > Hi All, > > >> I am developing a resource allocation application in GAE with Java. > > >> Since there is no like keyword in JDOQL, I am unable to do search in > >> database based on a keyword. For example, I want to list all the > >> employees who have 'ash' word in their name. > > >> I have already wasted 3 days due to this problem. So please suggest me > >> some workaround to achieve above this goal. > > >> Thanks in advance. > > >> Regards, > >> Piyush Jain > > >> -- > >> 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. > > > -- > > 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. > > -- > dream or truth -- 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.
[appengine-java] Instant messenger
Hi, I am a newbie in web development. I am trying to create a web page which contains chatting messengers like ebuddy. i want to know that can i use google app engine to create that kind of web page and embed all APIs. Also i want to transport my message from Google ID to Yahoo ID kind of. I came to know i have to use XMPP , Jabber server.But i dont know how to make use of that. Also Will it be good to use JSP ,servelet or should i use PHP. which will be better ? Please help me on this topic . Thanks in advance. -- 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.
Re: [appengine-java] Instant messenger
Thanks Stevko for quick reply. Your suggestions are really helpful to start with. I have decided to select servlets for writing code, GWT for creating GUI as you suggested. But i am still confused how to authenticate google users , facebook users ,yahoo users etc. Is there any authentication API ? I am just collecting requirements at this moment. Once all the requirements freezes, i will start working on code and GUI. If you have any suggestion please let me know. Hope you will help me. -- 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.