[appengine-java] Re: String as Primary key in JDO

2010-01-17 Thread Sahil Mahajan
the original value. > > On Sun, Jan 17, 2010 at 2:15 PM, Sahil Mahajan wrote: > > Isn't there any other way. > > I want to avoid toLowerCase(). > > I want String to be case insensitive for database, but while > > displaying String to user I would like it to co

[appengine-java] Re: String as Primary key in JDO

2010-01-16 Thread Sahil Mahajan
ey. On Jan 17, 11:34 am, jd wrote: > Just String#toLowerCase() the key when you store them > > On Jan 17, 1:11 am, sahil mahajan wrote: > > > I am using String as primary key in JDO. But it is case sensitive. It > > considers "name" and "

[appengine-java] String as Primary key in JDO

2010-01-16 Thread sahil mahajan
I am using String as primary key in JDO. But it is case sensitive. It considers "name" and "NAME" as different. Can I make it case sensitive? -- Regards Sahil Mahajan -- You received this message because you are subscribed to the Google Groups "Google App Engine for

[appengine-java] Re: ArrayList of children are saved without error but then cannot be read.

2010-01-13 Thread Sahil Mahajan
hable = "true" So I am not sure whether my reply would help you. Regards Sahil Mahajan On Jan 14, 6:13 am, drdbuck wrote: > Max Ross said... >     ...Please post your question on the Google Group for GAE Java (the > link is in the App Engine Links section on the right) along w

[appengine-java] Re: Problem running on datastore first time

2010-01-13 Thread Sahil Mahajan
On the server side try to print your data through System.out.println() This should be displayed on your logs. If you don't see message, then problem is in sending data to server. Otherwise you need to look into datastore. Sahil On Jan 14, 12:19 am, "Jason (Google)" wrote: > No, there is no speci

[appengine-java] Re: problem in XMPP sendMessage()

2010-01-03 Thread Sahil Mahajan
using getPresence(recipientJid, fromJid).isAvailable()) solved the problem found answer in http://groups.google.com/group/google-appengine-java/browse_thread/thread/13802bcecc63da4b/e5c17cc17e58d859?lnk=gst&q=xmpp+send+invite&pli=1 On Nov 30 2009, 12:51 pm, Sahil Mahajan wrote:

[appengine-java] Re: XMPP getPresence response not valid?

2010-01-03 Thread Sahil Mahajan
> Doing the following fixed my problem: > > if (xmpp.getPresence(recipientJid, fromJid).isAvailable()) { > ... > > On Jan 2, 11:55 am, Sahil Mahajan wrote: > > > Hi > > > I am facing same problem. > > Did you find any solution to this problem? > > getPresen

[appengine-java] Re: XMPP getPresence response not valid?

2010-01-02 Thread Sahil Mahajan
Hi I am facing same problem. Did you find any solution to this problem? getPresence is always returning false. On Nov 18 2009, 10:47 am, m seleron wrote: > Hi. > > Though it is likely already to have tried. > > If the state is [is not available] > please invite it from GMailchat or GTalk toXMPP

[appengine-java] Re: getting wrong presence status for XMPP users

2010-01-02 Thread Sahil Mahajan
Hi I am facing same problem. Did you find any solution to this problem? getPresence is always returning false. On Dec 30 2009, 2:27 pm, Ankur wrote: > Hi, > > I have a very simple application where i sent a chat message to my > application and check if user is available.But i am always getting a

[appengine-java] Re: problem in retrieving arraylist from database

2009-12-24 Thread Sahil Mahajan
@datanucleus Thanks for your reply. I am new to jdo and app engine. I had no idea about fetch. I searched for it and after adding @Persistent(defaultFetchGroup = "true") for arraylist my program is working according to my requirements. Thanks for your guidance @Michael Chan Thanks for your reply.

[appengine-java] problem in retrieving arraylist from database

2009-12-23 Thread sahil mahajan
I have "SomeClass" which I store in database. Code for the class is /***/ @PersistenceCapable(identityType = IdentityType.APPLICATION) public class SomeClass implements Serializable { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrate

[appengine-java] Re: problem in XMPP sendMessage()

2009-11-29 Thread Sahil Mahajan
Hello Thanks for your help Problem was in .withRecipientJids(receiverJid). When I simplified receiverjid, it works correctly Regards Sahil Mahajan On Nov 29, 12:47 pm, m seleron wrote: > Hi. > > I tested execution by the following source. > > JID jid = new JID("x...@gmai

[appengine-java] Re: problem in XMPP sendMessage()

2009-11-28 Thread Sahil Mahajan
()) { >             SendResponse status = xmpp.sendMessage(msg); >             messageSent = (status.getStatusMap().get(jid) == > SendResponse.Status.SUCCESS); >         } > > On Sat, Nov 28, 2009 at 2:51 PM, sahil mahajan wrote: > > I am using XMPP and g

[appengine-java] Re: Problem in uploading jsp file

2009-11-28 Thread Sahil Mahajan
Problem solved I found solution at comment 16 of Issue 1226 http://groups.google.com/group/google-appengine-java/browse_thread/thread/24aadd04f3ae0245 Regards Sahil On Nov 25, 11:14 pm, Sahil Mahajan wrote: > Hello Stephan > > I am new to gae. My JAVA_HOME variable has value "C:

[appengine-java] problem in XMPP sendMessage()

2009-11-28 Thread sahil mahajan
I am using XMPP and getting following error when I try /CODE*/ Message msg = new MessageBuilder() .withRecipientJids(receiverJid) .withFromJid(new JID(recipientJid[0].getId()) ) .withMessageType(MessageType.NORMAL) .with

[appengine-java] Re: Problem in uploading jsp file

2009-11-25 Thread Sahil Mahajan
ann wrote: > You are using a Java Runtime Environment (JRE) which does not include a > compiler. > > You have to use a JDK instead. > > Regards, > Stephan > > sahil mahajan schrieb: > > > > > Hello > > > I am working on java google app engine. When

[appengine-java] Problem in uploading jsp file

2009-11-24 Thread sahil mahajan
Hello I am working on java google app engine. When I try to upload my application, I receive following error Error Details: Nov 24, 2009 10:18:11 PM org.apache.jasper.JspC processFile INFO: Built File: \addressbook.jsp java.lang.IllegalStateException: cannot find javac executable based on jav

[appengine-java] XMPP and JID

2009-11-16 Thread sahil mahajan
Hello I am using XMPP API. It looks that JID of a google account user does not remain constant. If a user is using gmail, then his JID is mai...@gmail.com/gmail.SOME_NO and when he is using gtalk JID is mai...@gmail.com/talk.SOME_DIFF_NO. I need to have something (for example mail id) which remai

[appengine-java] Re: RPC call and variables

2009-09-20 Thread Sahil Mahajan
If you don't need or > want to use transactions, then you can safely ignore this particular info > log message. > - Jason > > On Thu, Sep 17, 2009 at 9:06 PM, Sahil Mahajan wrote: > > > Hello > > Thanks leszek > > > I tried datastore, it has solved many

[appengine-java] Re: RPC call and variables

2009-09-17 Thread Sahil Mahajan
also like to know about any other alternative? Regards Sahil Mahajan On Sep 16, 2:37 pm, leszek wrote: > Follow this thread - could be helpful > > http://groups.google.co.uk/group/google-appengine-java/browse_frm/thr... --~--~-~--~~~---~--~~ You rece

[appengine-java] Re: RPC call and variables

2009-09-15 Thread Sahil Mahajan
such calls and since there is a limit on datastore calls, external service to store variables could be a good alternative. Regards Sahil Mahajan On Sep 16, 7:03 am, Bulat Sirazetdinov wrote: > There are two ways. To use a GAE datastore service. Or to use some > external service to store

[appengine-java] RPC call and variables

2009-09-15 Thread sahil mahajan
Hello In my application, If a client A makes an rpc call and changes a variable at server, I want this change to be immediately reflected to other clients when they make same rpc call. But it looks that my clients are interacting with different servers and changes are not reflected. What can I do