[appengine-java] Re: Unexpected error during precommit, with owned relation, if childList is null

2010-01-01 Thread datanucleus
The cause exception and stack trace don't seem to be posted. Without those you'd have to provide a crystal ball with your post to be able offer a comment ;-) -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group,

Re: [appengine-java] Re: Unexpected error during precommit, with owned relation, if childList is null

2010-01-01 Thread Kemal Dogan
Thanks for your reply and warning:) Ths stack trace is javax.jdo.JDOException: Unexpected error during precommit at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:419) at

[appengine-java] Getting the updated Key for child entity after calling pm.makePersistent(childEntity)

2010-01-01 Thread Mike
Hi, I have two entities - Parent and Child, the relationship is mapped using the mappedBy annotations. Both entities are using Key type as the pk, which is manually generated during the instantiation of the object. When the PK is generated for the Child, parent information in the child key is

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

2010-01-01 Thread Vince Bonfanti
Issue #2097 still exists on the development server; however, I just committed a workaround. This workaround has a dependency on Apache Commons Codec: http://commons.apache.org/codec/ I'm not aware of any issues in production. For convenience, here's the link again to the source:

Re: [appengine-java] Could not fetch URL with URLFetchService but with HttpClient

2010-01-01 Thread seleronm
Hi, I tried a little. ( SDK 1.3.0) The condition that IOException is generated when value of the URL parameter .(dot) is included. This is not generated in production. I think that the possibility of bug of development environment(SDK). thanks. I have an url which is redirecting:

Re: [appengine-java] Getting the updated Key for child entity after calling pm.makePersistent(childEntity)

2010-01-01 Thread Michael Chan
I think I have found a solution to the problem. Note: in the solution, I have assumed that there is no way I could retrieve the key after persisting the child entity without an additional query. In order to achieve what I need, the key of the child entity has to be manually created with

[appengine-java] Re: How to query objects with criterias defined in child entities

2010-01-01 Thread reini77
Sounds like a good idea. This would mean that I'm able to query users by a skill pretty fast. But is there a chance to query users which have a set of skills efficient in app-engine? Or would i need to query for each skill seperatly and filter the list of users (which have all the required skills)

[appengine-java] Set cache expiration time for many static files (GAE+GWT)

2010-01-01 Thread Nohu
Hello I am developing some application written in GWT on App Engine. I'm on optimalization stage, so i want to allow browsers to cache as much of static files as possible. If I don't put any static files in appengine-web.xml directly, App Engine threat all files in war directory as static files

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

2010-01-01 Thread dantuluri
As you suggested, I did the following: query.setFilter(parentKey == null); and it worked. Thank you very much for your suggestion. Now I have another problem: When I am querying for the child nodes, I have the following code: query.setFilter(parentKey == parentKeyParam); Key

[appengine-java] static data loading

2010-01-01 Thread aswath satrasala
Hello All, I have the following JDO class. I want to load the data initially for entities of this class. I am thinking the following - I can create a seperate URL like myapp.appspot.com/initializedata. This resource will create JDO objects and persist the data. However, I want only the admin of

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

Re: [appengine-java] New Data Field NullPointer

2010-01-01 Thread Jeffrey Goetsch
Yes I completely understand why Google Datastore would return nulls. Why doesn't the Datanucleus code handle the nulls appropriately? Datanucleus knows that the object has a primitive, and just take the less robust approach. It could check to see if it is a primitive and check to see if the

[appengine-java] Re: New Data Field NullPointer

2010-01-01 Thread datanucleus
Once more time, DataNucleus (as per http://www.datanucleus.org) treats fields correctly. The problem is not in DataNucleus. It's in Google's plugin, where *they* define the handling of their data. When handling the equivalent situation in RDBMS (adding a new field, and hence a new column in a

[google-appengine] Re: quota is not changed

2010-01-01 Thread max7
Thank you. If Xmas eve is not a reason then I guess it is handled automatically but not sure if it a problem. My original limit was $2 dollars and then I set $50 dollars limit. There was no reaction and I thought google thinks $50 is too expensive and there is no spare servers to satisfy such

[google-appengine] how to use less time for many urlfetches?

2010-01-01 Thread saintthor
for each urlfetch, i have to wait till it returns. if i run many urlfetches, how can i save the waiting time? i have tried thread, the urlfetches in threads still runs one after another. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To

[google-appengine] BlobProperty size

2010-01-01 Thread kls
When I try to save entity with BlobProperty containing 1048000 bytes which is less than 1Mb I've got Exception with string property text is too long. It cannot exceed 100 characters. message. Does BlobProperty contain 1Mb or 100 bytes? -- You received this message because you are

[google-appengine] Re: how to use less time for many urlfetches?

2010-01-01 Thread dburns
Have you seen this? http://code.google.com/appengine/docs/python/urlfetch/asynchronousrequests.html On Jan 1, 10:25 am, saintthor saintt...@gmail.com wrote: for each urlfetch, i have to wait till it returns. if i run many urlfetches, how can i save the waiting time? i have tried thread, the

[google-appengine] ereporter problems

2010-01-01 Thread Andy Freeman
I'm seeing some strange behavior from ereporter in the development server. It looks like reloading modules is confusing things. Here's the log. Comments are in []s. INFO 2010-01-01 19:44:53,108 appengine_rpc.py:157] Server: appengine.google. com INFO 2010-01-01 19:44:53,108

[google-appengine] Deployment Question :- Sharing / Selling Native GAE Apps. How is it possible ?

2010-01-01 Thread newbie100
Hello, I came across this from http://apps.gepportal.com/products-getting-started/isv :- Native: these are new SaaS applications built from the ground up on App Engine, designed to complement the features and applications found in Google Apps. We encourage early adopters to evaluate App Engine

[google-appengine] Re: How to update a part of application?

2010-01-01 Thread thanhnv
It's only a option of update command when I want to update specific folder. I still can update all application with original command. Anyway, thank you for your idea. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group,

[google-appengine] by default property are not required

2010-01-01 Thread james_027
I wonder why by default the model's property required option is False, which contrast to the others. And if I am going to use the djangoforms I have to put required=False on most of my fields. Is there something I need to know or understand? Or is it the datastore is totally a different thing.