Hi Patrizio,

You might find it much easier to create each User's Stat instance
outside of your User class. (Knowing my brain, I personally would find
this easier and simpler!)

As a first step, why not replace

  @Persistent
  private Stat stat= new Stat();

with

  @Persistent
  private Stat stat;


and add a setter method

  public void setStat(Stat stStat)
  {
    stat = stStat;
  }


and then create your Stat instances elsewhere in your app?

It could be (and GAE/J experts may correct me here) that the line

  private Stat stat= new Stat();

causes a new instance to be created each time a User instance is
brought forth into your app (by a create, fetch, etc.)?

I trust that this might help,

Ian

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to