[appengine-java] conceptual question: parent Key

2009-10-29 Thread K.Honsali
Salaam, Using the low-level datastore api; I have some resistance understanding the benefit of instantiating an Entity with a parent Key. Since I can just set a property , ParentId , with the desired issue. Does BigTable ensure integrity constraints if I indicate the parent Key using the former

[appengine-java] Re: conceptual question: parent Key

2009-10-29 Thread K.Honsali
typo: desired issue => desired value On 29 oct, 11:58, "K.Honsali" wrote: > Salaam, > > Using the low-level datastore api; > > I have some resistance understanding the benefit of instantiating an > Entity with a parent Key. > Since I can just set a property ,

[appengine-java] Re: Datastore: is numeric ID unique for all entities of one type?

2009-11-17 Thread K.Honsali
As for your main question, I assume from the API :: Key = A datastore GUID. A Key instance uniquely identifies an entity across all apps, and includes all information necessary to fetch the entity from the datastore with DatastoreService.get(Key). you can get an entity by key: Entity get(Key

[appengine-java] on switching a webapp from RDBMS to GAE/J ( jdo, join, sql )

2009-11-25 Thread K.Honsali
Hi all, If my understanding of previous discussions is correct, we can resume from: - GAE/J is not relational (not full JDO too), and hence does not support sql features such as joins, like, not in ...etc - the solution is to de-normalize your tables ... or your mind.. Now, suppose you have a qui

[appengine-java] Re: on switching a webapp from RDBMS to GAE/J ( jdo, join, sql )

2009-11-25 Thread K.Honsali
I would have added d) use an embedded rdbms, and do own consistency If there was a way to control running instances like in EC2 On Nov 25, 5:17 pm, "K.Honsali" wrote: > Hi all, > > If my understanding of previous discussions is correct, we can resume > from: >

[appengine-java] [character encoding] request.setEncoding

2010-02-11 Thread K.Honsali
Salaam all; Eclipse encoding is UTF-8 and HTML form charset is UTF-8. Is it OK for this code below? System.out.println("1-request char encoding : "+request.getCharacterEncoding()); request.setCharacterEncoding("UTF-8"); System.out.println("2-request