> how does the unowned relationships works? Does it enable "lazy loading" the 
> related part as a separated datastore get?

@PersistenceCapable
public class A
{
    @Unowned
    B b;
}

@PersistenceCapable
public class B {...}

Persist of an A with related B will persist the A and B (though the
Key of the B will obviously have no parent Key component). Entity of A
will have a property containing the Key of the related B. Loading of
such objects will pull in the related object as per the Fetch Plan
(which the user controls, as per the JDO spec), so when it needs the B
then it does a get of the B using the Key.

-- 
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.

Reply via email to