[appengine-java] Re: Datastore.Text didn't work after deploy

2010-07-25 Thread Ian Marshall
Is this field in your fetch group when you retrieve data. I use the following way to ensure that a field is in my default fetch group: @Persistent(defaultFetchGroup="true") private Text content; On Jul 24, 10:34 pm, poe wrote: > Hi everyone, > > i've implemented a small application with > >

[appengine-java] Re: Datastore.Text didn't work after deploy

2010-07-25 Thread poe
Nope, that didn't solve the problem. Another strange thing is, when I query on the entities I only get one result on the appengine server, locally I get all results that are assigned to the user. Another strange thing is, that the datastore viewer in the appengine admin area shows a "null" value fo

[appengine-java] Is possible a query inside an arrayList?

2010-07-25 Thread salvatore
Hi i've problem How a can query a data inside an ArrayList? I use low level Datastore API the data is structured like this entity (kind 'User') -String username -String pass -ArrayList tags I want to query all the user with a specific role my code //... DatastoreService ds= Datast

[appengine-java] Re: Is possible a query inside an arrayList?

2010-07-25 Thread Tony Qiu
Of course you can do it. there is a keyword "member of" in JP-QL. you can use the JP-QL below to do what you want. Query query = new Query("select o from user o where :tag member of o.tags"); query.setParameter("tag","abc") On 7月25日, 下午8时28分, salvatore wrote: > Hi i've  problem > How a can quer

Re: [appengine-java] Re: Desarrollo de Aplicaciones con Eclipse

2010-07-25 Thread Edixon Polanco
No entiendo bien eso de las restricciones. Donde puedo ver las restricciones de Google App Engine? El 24/07/10, nicolas melendez escribió: > Antes de empezar a desarrollar una aplicación para app engine, LEE muy bien > las restricciones de app engine, > puede que tu projecto pueda fracasar por cu

[appengine-java] Re: polymorphism, inheritance really not supporting?

2010-07-25 Thread Stephen Johnson
Hi, 1.) Yes, you can have inheritance relationships. I use the following: @Inheritance(strategy = InheritanceStrategy.SUBCLASS_TABLE) 2.) It looks like your problem isn't with the inheritance but is because you must have in your Partido class a field which is defined as Resultado and thus you can

[appengine-java] Reading blobs larger an 1MB

2010-07-25 Thread korey_sed
I am stumped. No matter what API call I try to read a large blob, I get the following: Caused by: com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 6: Blob fetch size too large. I have tried using the BlobStoreInputStream, BlobStoreService.fetchData, and even BlobStoreSe

[appengine-java] I am unable to delete a version of my App.

2010-07-25 Thread guilt
Hi, I tried to delete an old version of my App, but am unable to. It shows some kind of error occured. -- 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

[appengine-java] Highly Frustrated By Entity Groups / Transactions

2010-07-25 Thread Bill
Hello, I'm quite frustrated with entity groups. They seem to make the concept of a transaction largely pointless. The specific problem I face at this moment is this. Since the datastore has no concept of foreign key constraints, I need to do bounds checking. Here's the case: There exists a D

[appengine-java] Re: Desarrollo de Aplicaciones con Eclipse

2010-07-25 Thread Gilbert Corrales
Creo q a lo q se refiere Nicolas es que una applicacion q corre en appengine tiene ciertas características especiales (algunas de ellas restricciones, otras, formas especificas de hacer las cosas) si bien vos podes utilizar tanto Python como Java para desarrollar apps para appengine, la forma en q

[appengine-java] getting a java.lang.NullPointerException when running example query code on datastore

2010-07-25 Thread Fixou
Here is the code i am trying to run, where "Device" is a persistententity stored in the datastore. @SuppressWarnings("unchecked") public static List findAll() { String sqlFetchAll = "select from " + Device.class.getName(); Query query = Device.getPersistenceManager().newQuery(sqlFe

[appengine-java] Re: Reading blobs larger an 1MB

2010-07-25 Thread Tapir
http://code.google.com/appengine/docs/python/datastore/entitiesandmod... On 7月26日, 上午9时07分, korey_sed wrote: > I am stumped. No matter what API call I try to read a large blob, I > get the following: > > Caused by: com.google.apphosting.api.ApiProxy$ApplicationException: > ApplicationError: 6: B