Hi,
I have the following situation. I have 2 entities User and Tour and i
wanted to have unowned relationship between these two. I have followed
the the relationships article on GAE documentation. I am taking care
of relationships at both the ends. However my problem is that only one
side of the relationship is getting persisted. Here is my sample code:

create a persistence manager, pm
start transaction
create Tour object
set the values for this object
add a user object //as part of this i am also adding the tour object
to the user object
pm.makePersistent(tour);
commit the transaction

My problem is,  the user object is never getting updated (with tour
relationship info)
How do i achieve this?
-- 
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-appeng...@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.


Reply via email to