*after On 19 Maio, 21:33, BimboJones <bimbojone...@gmail.com> wrote: > Hi, > > Did you close the PersistenceManager before making the changes? > Is the key generated by appengine? > > On 19 Maio, 10:21, Xuel <mjo...@gmail.com> wrote: > > > > > Hello everybody ! > > > I've been working with the wicket-gae-template which provides a good > > entry in gae, however I have a big issue : > > > I have 3 entities, Astre, Region and Colon ; Astre has a list of > > Region ; Region has a list of Colon. > > > Astre { > > @PrimaryKey > > @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) > > private Key key; > > > @Persistent(mappedBy = "astre") > > @Element(dependent = "true") > > private List<Region> listeRegion = new ArrayList<Region>(); > > > } > > > Region { > > @Persistent > > private Astre astre; > > > @PrimaryKey > > @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) > > private Key key; > > > @Persistent(mappedBy = "region", defaultFetchGroup="true") > > @Element(dependent = "true") > > private List<Colon> listeColons = new ArrayList<Colon>(); > > > } > > > and Colon { > > @Persistent > > private Region region; > > > } > > > (with other fields) > > > so Astre is a root entity, Region is a child of Astre and Colon a > > child of Region. > > > When I load an Astre, i can modify it, upload it. I can modify, say, > > the name of the 1st region, and the name of its 1st colon ; when i > > make a pmProvider.get().makePersistent(astre); the astre is updated > > (I can see it with the dataviewer) > > > When I load a Region with a Key ID and modify its name, the > > pmProvider.get().makePersistent(region); seems to do nothing. same for > > Colon. > > I have another root entity "UserData" with which i have also no > > problem for updates. > > > Is there something I am missing about the updates of non-root > > entities ? > > > -- > > 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 unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine-java?hl=en. > > -- > 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 unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/google-appengine-java?hl=en.
-- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.