[appengine-java] NullPointerException while persisting a new entity

2010-03-04 Thread dantuluri
Hi, My app was working fine and I made few changes. Suddenly, it cannot create new entities any more. It can modify the existing entities. I reverted my changes back to where it was. Problem doesn't go away. This is in the local environment. I deleted the data file. New data file is created

[appengine-java] Search functionality using Compass

2010-01-06 Thread dantuluri
Hi, Anybody implemented the search functionality using Compass on App engine? If so, can you share your experiences? Did you face any issues, how they are solved? How it impacted your Billing? Thanks -- You received this message because you are subscribed to the Google Groups Google App

[appengine-java] Query with inequality operators on a single property fails

2010-01-05 Thread dantuluri
Hi, I have the following query with inequality operators on a single property: query = pm.newQuery(File.class); query.setFilter(dueDate = beginDateParam dueDate = endDateParam); ListFile storedFiles = (ListFile)query.executeWithArray(begin, end); Runtime is throwing this exception:

[appengine-java] Re: JDO Query for properties with null values

2010-01-01 Thread dantuluri
...@google.com wrote: I'm not sure what will happen when you pass this: (Key) null As the query parameter. Instead, what happens if you query on parentKey == null? On Tue, Dec 29, 2009 at 11:47 AM, dantuluri pdantul...@gmail.com wrote: Hi,    I have the following code: query = pm.newQuery

[appengine-java] JDO Query with inequality operators

2010-01-01 Thread dantuluri
Hi, I have the following query with inequality operators on a single property: query = pm.newQuery(File.class); query.setFilter(dueDate = beginDateParam dueDate = endDateParam); ListFile storedFiles = (ListFile)query.executeWithArray(begin, end); Runtime is throwing this exception:

[appengine-java] Re: JDO Query for properties with null values

2009-12-29 Thread dantuluri
, dantuluri pdantul...@gmail.com wrote: I am new GAE and I need some help. Is it possible to query for entities with a property value null using GAE JDO query? I want something like   Get me all the Files that don't have a parent In regular relational DBs, it can be queried some thing

[appengine-java] JDO Query for properties with null values

2009-12-22 Thread dantuluri
Hi, I have an entity that has the following structure: File which has Key as primary key and ParentKey that refers to another File which is parent of this File. Example data for this structure looks like this: Key: File(2) Name: Inbox parentKey: File(1) It is possible that File may not

[appengine-java] Re: Can we use Enums as fields in Data classes

2009-12-16 Thread dantuluri
Thanks, the article is really helpful. On Dec 15, 4:06 pm, David Chandler turboman...@gmail.com wrote: Seehttp://turbomanage.wordpress.com/2009/12/04/persisting-enums-with-app... HTH, /dmc On Dec 14, 5:35 pm, dantuluri pdantul...@gmail.com wrote: Hi,    Can we use java enums

[appengine-java] Can we use Enums as fields in Data classes

2009-12-14 Thread dantuluri
Hi, Can we use java enums as @Persistent data fields in the Data classes? There is no tutorial that talks about java enums being used in the Data classes. Thanks, Prasad -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post