Hi, I have following object child relationship. All the objects are getting saved properly but when I try to fetch child object I am getting *null*. This error is not because of lazy loading as I am accessing the child before closing the PersistentManager.
============ Parent Object Class ============== @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Block implements Serializable { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long block_id; @Persistent(dependent = "true") private BlockModule block_module; .... .... ============= Child class hierarchy ============ @PersistenceCapable(identityType = IdentityType.APPLICATION) @Inheritance(customStrategy = "*complete-table*") @Discriminator(strategy = DiscriminatorStrategy.CLASS_NAME) public *abstract *class BlockModule extends Serializable{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) protected Key key; public *abstract *String getTitle(HttpServletRequest req); public *abstract *String getContent(HttpServletRequest req); } @PersistenceCapable(identityType = IdentityType.APPLICATION) public class BlockTextHTML extends BlockModule{ @Persistent private String block_title; @Persistent private String block_content; .... .... I test by putting BlockTextHTML as child object of Block. --~--~---------~--~----~------------~-------~--~----~ 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 google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~----------~----~----~----~------~----~------~--~---