[appengine-java] Re: Problem with persistance

2010-02-25 Thread Anton Klotz
{ pm.close(); } return offerDetail; On 25 Feb., 09:07, Stephan Hartmann wrote: > I think in your Offer class you should use getter/setter for mOfferDetail > (not a constructor to set the field). > > 2010/2/25 Anton Klotz > > > > > Hi Jake,

[appengine-java] Re: Problem with persistance

2010-02-24 Thread Anton Klotz
he child class must have a @Persistent annotation with the argument > mappedBy = "...", where the value is the name of the field on the > parent class." > > From what I see, you have it backwards, with the annotation in the > parent class. > > Jake > > On Feb 24, 4:

[appengine-java] Problem with persistance

2010-02-24 Thread Anton Klotz
Hi, could please somebody tell me, what I'm doing wrong here? Here is one child datastructure I want to persist: @PersistenceCapable public class OfferDetails { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key mId; @Persistent