[appengine-java] Reading child values

2011-03-15 Thread Ralfeus
Hi Probably the topic is already discussed and not once but still I can't find any explanation :-( So, I have an object, which contains list of another objects. Like this: @PersistenceCapable public class ItemCollection { @PrimaryKey @Persistent(valueStrategy =

[appengine-java] Re: Creation of owned one-to-many problem

2011-02-09 Thread Ralfeus
In this example it looks like you replace existing list (r.seznamNemovitosti) with completely new one. But what if there is already existing list? Another question. In JDO documentation it's told you don't need to make persistent all members of the object separately - all of them should be stored

[appengine-java] Field is not stored

2011-01-18 Thread Ralfeus
Hi I have a class, which has list of other objects. Looks like this @PersistenceCapable public class Category { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String name; @Persistent