there is company class model. public class Company implements ICompany { private static final long serialVersionUID = 1L;
@PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id; @Persistent private String name; @Persistent private Category catId; } this is my category class model public class Category extends BaseObject implements ICategory { private static final long serialVersionUID = 1L; @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id; @Persistent private String name; @Persistent private Key parent; } catId of company is foreign key. I want to retrieve company info with category details in single object how implement in jdo . because in hibernate it joined automatically and get details in single object. I am trying to get the details of both in single object , but only company info. is coming and category id is coming , not coming category full details . --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---