Re: [appengine-java] Re: Probably a newbie question (most likely)

2011-02-23 Thread Fernando O.
ere parent key > == thread key you should get all the comments that belong to the > thread. > > On Feb 22, 7:06 pm, "Fernando O." wrote: > > tried that and it's telling me > > org.datanucleus.exceptions.NucleusObjectNotFoundException: Could not > > retrie

Re: [appengine-java] Re: Probably a newbie question (most likely)

2011-02-22 Thread Fernando O.
ities in 1 transaction :S On Tue, Feb 22, 2011 at 8:56 PM, Fernando O. wrote: > Thanks! I'll try that. BTW no, addComment does not store the comment. > > On Tue, Feb 22, 2011 at 8:49 PM, WillSpecht wrote: > >> Don't you need to persist the thread as well as the comme

Re: [appengine-java] Re: Probably a newbie question (most likely)

2011-02-22 Thread Fernando O.
ey == > ThreadKey. > > On Feb 21, 9:30 pm, "Fernando O." wrote: > > Hi all. > > First of all I have to admit: I havent read all the docs. > > > > I had a small app running, it basically has this: > > A User: > > @PersistenceCapable(detachable

[appengine-java] Probably a newbie question (most likely)

2011-02-21 Thread Fernando O.
Hi all. First of all I have to admit: I havent read all the docs. I had a small app running, it basically has this: A User: @PersistenceCapable(detachable = "true") @FetchGroup(name = "_post", members = { @Persistent(name = "posts") }) public class User implements Serializable{ @PrimaryKey @Persis

Re: [appengine-java] Re: Problem with persist a child class

2010-09-24 Thread Fernando O.
you don't need an aditional key your problem is that you already have a @PrimaryKey in Fecha so you don't need it in RegFechaUsuario. Cheers, Fernando On Thu, Sep 23, 2010 at 8:30 PM, lisandrodc wrote: > Hi!Cyrille I add a primary key in my child class: > > @PersistenceCapable(identityType = >