Re: [appengine-java] Re: Weird results for JOD query with List item filter (List.contains(....))

2009-11-26 Thread Prashant
any update ? I'm desperately waiting for its solution.. -- 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

Re: [appengine-java] Re: any plans for deferred.defer in Java?

2009-11-26 Thread Nick Johnson (Google)
Hi Vince, I haven't had a chance to integrate your code yet, so feel free to continue making modifications. In particular, I think it would be useful to provide the same set of options the Python deferred API accepts, which include 'eta' and 'countdown' parameters, as well as specifying the queue

[appengine-java] Using Long as a natural key

2009-11-26 Thread Jeff Schnitzer
I store a record that has a natural Long primary key (a facebook user id). I currently create a Key with that id and insert this record. I just noticed this comment on the Entity(Key) constructor: Creating an entity for the purpose of insertion (as opposed to update) with a key that has its id

[appengine-java] storing SetKey in datastore

2009-11-26 Thread Benedykt
Hello, In my application I have a class which has a field of type Setcom.google.appengine.api.datastore.Key. I want to store objects of that class in datastore, but I can't make it work. At first my class looked like this: @PersistenceCapable(identityType=IdentityType.APPLICATION) public class

[appengine-java] Re: Null pointer exception when accessing keys of unowned 1..n relation

2009-11-26 Thread Icarus
Hi Ikai, The issue was with the order in which I was invoking persistence. Thanks. Its resolved now. -Ic On Nov 21, 2:53 am, Ikai L (Google) ika...@google.com wrote: Can you post code? My assumption is that you are using JSP dispatch. Child objects are lazy loaded, so if this is what you are

[appengine-java] Parent Child GrandChild relationship, cannot get Grandchild object

2009-11-26 Thread Icarus
Hi, I have a Parent Class with a List of Child Objects. This is an owned one to many relation and I am able to get the child objects from the Parent Object after I get the Parent Object from the DataStore. Now, the Child Objects in turn have a List of Objects ( so they are the grandchildren)...

[appengine-java] Change of Attribute in an object wasn't saved in datastore sometimes.

2009-11-26 Thread Ray
I am developing my App with GWT + GAE. today i met a strange thing. I am using Eclipse Galileo with GWT 1.7 and Google plugin 1.26. i have a class A, which is defined like the following one; public Class A { protected Long id; protected ArrayListString usernames; public

[appengine-java] Re: Can't send mail with attachment using JavaMail API

2009-11-26 Thread Don
Thanks Ikai. It did NOT work before because I set the dataHandler before I set the FileName. Just have to set the FileName and then set the DataHandler. attachment.setFileName(ticker.png); attachment.setDataHandler(new DataHandler(mimePartDataSource)); Is this behaviour intentional? Many

[appengine-java] HttpSession and setMaxInactiveInterval

2009-11-26 Thread Peter Hulsen
Hi, I am writing a custom authentication process and like the app to leave the user signed in after the browser closes (i.e., when the user revisits the app she is directly signed in). I thought the following piece of code would accomplish this: HttpSession session = req.getSession(true);

[appengine-java] Re: HttpSession and setMaxInactiveInterval

2009-11-26 Thread mably
The session cookie is lost when you close your browser. So no way to get back to the original session once you reconnect. Nothing in common with an eventual authentication cookie. On 26 nov, 22:32, Peter Hulsen hul...@gmail.com wrote: Hi, I am writing a custom authentication process and like

[appengine-java] Filtering by Date using the Datastore Low Level API

2009-11-26 Thread Doug
Good Evening Everyone, I am working on creating an event calendar type of page and am having trouble using the low level API and applying a filter to select events that occur in the future. The data that I am selecting has a property of display_until that holds a date in -mm-dd hh:mm:ss