[appengine-java] Please help me with mapping

2010-06-13 Thread nischalshetty
Hi All, I need to clear a few doubts. Let's take an example so that you know what my doubt is : I have a User object and each user performs an operation - say a status update. User { private Long id; private ListStatusUpdate updates; } Now this seems all good but if I'm not wrong Appengine

Re: [appengine-java] Please help me with mapping

2010-06-13 Thread Prashant
you can keep a separate status class, which will store only one update per class. Every time user updates her status, create a new update class and persist it Update { private long userid; private string status; } when you need to display update just fetch all update entities where userid ==