I always catch myself with this problem with Google App Engine: should I repeat data that is stored in other entities or should I make associations? What should I analyze to make this decision?
I won't use this information on searches, so it's not the "GAE join problem", it's a matter of co$t.
Right now, I have something like this rugged example:
public class GameResult
{
private int points;
private int duration;
...
}
public class Player
{
private string name;
private GameResult lastGameResult;
List<int> lastGamesPoints;
}
Somehow I need to know the punctuation of the last 5 games and that's the only information I need, that is, I don't need to know other stuff about GameResult of past games. I could have this List of ints or I could have a OneToMany association of GameResults.