[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 sahilm2...@gmail.com 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 conserve case.. I can compare

[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 Java" group

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

2010-01-16 Thread Sahil Mahajan
. On Jan 17, 11:34 am, jd jdpatter...@gmail.com wrote: Just String#toLowerCase() the key when you store them On Jan 17, 1:11 am, sahil mahajan sahilm2...@gmail.com wrote: 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

[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) apija...@google.com wrote: No,

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

2010-01-13 Thread Sahil Mahajan
= true So I am not sure whether my reply would help you. Regards Sahil Mahajan On Jan 14, 6:13 am, drdbuck drdb...@gmail.com 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 with your

[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 sahilm2...@gmail.com wrote: Hi I am facing same problem. Did you find any solution to this problem? getPresence is always returning false

[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=gstq=xmpp+send+invitepli=1 On Nov 30 2009, 12:51 pm, Sahil Mahajan sahilm2...@gmail.com

[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 stiitan...@gmail.com 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

[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 seler...@gmail.com wrote: Hi. Though it is likely already to have tried. If the state is [is not available] please invite it from GMailchat or

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

[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 seler...@gmail.com wrote: Hi. I tested execution by the following source. JID jid = new JID(x...@gmail.com

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

[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 sahilm2...@gmail.com wrote: Hello Stephan I am new to gae. My JAVA_HOME variable has value C

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

2009-11-28 Thread Sahil Mahajan
= xmpp.sendMessage(msg);             messageSent = (status.getStatusMap().get(jid) == SendResponse.Status.SUCCESS);         } On Sat, Nov 28, 2009 at 2:51 PM, sahil mahajan sahilm2...@gmail.com wrote: I am using XMPP and getting following error when I try /CODE

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

2009-11-25 Thread Sahil Mahajan
...@metamesh.de 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 I try to upload my application, I receive following error

[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

[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

[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 leszek.ptokar...@gmail.com wrote: Follow this thread - could be helpful http://groups.google.co.uk/group/google-appengine-java/browse_frm/thr

[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