PersistenceManager ------------------ Do you close your PersistenceManager instance after you have persisted your Account object? (I always close my PersistenceManager instances when I am done using them.)
I don't see why would I actually need to save by hand AccountDetails, am I wrong? --------------------------------------------------------------------------------- I have never used "@EmbeddedOnly" myself. On Nov 16, 1:37 pm, djd <alex.dobjans...@gmail.com> wrote: > I don't persist AccountDetails, I just persist Account that has such an > object initialized: > > class Account { > .... > public Account (String name) { > this.details = new AccountDetails (name); > } > > } > > PersistenceManager pm = PMF.get().getPersistenceManager(); > Account account = new Account ("test"); > pm.makePersistent (account); > > I don't see why would I actually need to save by hand AccountDetails, am I > wrong? -- 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-java@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.