Hi folks,

I used the following blog post to create a OneToMany relation in my program 
by using JPA.
http://gae-java-persistence.blogspot.com/2009/10/creating-bidrectional-owned-one-to-many.html

My code and annotations exactly look the same. And all other jpa stuff works 
fine as well.

Getting the list with items yields the correct result. But the problem is as 
soon as I retrieve the child by querying it, the parent is null. 
I'm querying within an transaction and try to access the parent before I 
close the EntityManager.

Sadly I cannot find any posts or hints how to solve this issue.
Any ideas?

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/wfI5q9gf8aAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to