If you use the loop to continue to addChild() on the Key, your Key will look
something like this:
Page1->IMG_A->IMG_B->IMG_C
What you want are Keys that look like this:
Page1->IMG_A
Page2->IMG_B
If you continue to set children on the same builder object, you will likely
be setting Images to be
I have a class Page with a variable List images.
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Page {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key key;
@Persistent
private final List images;
...
}
My IMG class looks like this:
@