Re: [appengine-java] Need advice on a design for an easily queryable key-value user preferences datamodel

2010-10-19 Thread Ikai Lan (Google)
This is a problem that can probably be easily solved with the low-level API. Entities are schemaless and you can treate properties like a Map. You could probably do something like this: Entity settings = new Entity(Settings, user.getKey()); settings.setUnindexedProperty(dailyEmail, false);

[appengine-java] Need advice on a design for an easily queryable key-value user preferences datamodel

2010-10-18 Thread tempy
Hello all, In my app, the root element is a user, with which I want to associate a simple key-value structure for storing user preferences. It should be such a structure because I really can't foresee what preferences will be added in the future. At first I thought of using a simple @serialized