I need a simple application in GAE:
I have users:
public User {
private @Id Long id;
private String name;
}
and messages
private Message {
private @Id Long id;
private Key sender;
private Key reciever;
private Date sendDate;
}
The problem is: I need to fetch all messages sended and recieved by given user sorted by dandDate.
I think I choose wrong model.
Can you advice me anything?
Thanks.