> Okey, I got the answer of, what is "Unowned relationships are not supported" > > In our example it will through exception. > * > javax.persistence.PersistenceException: Detected attempt to establish > User(2) as the parent of Role(1) but the entity identified by Role(1) has > already been persisted without a parent. A parent cannot be established or > changed once an object has been persisted.* > > *Datanucleus* Got it?
There is nothing to "get" from my perspective. JDO and JPA define two ways of storing a referenced object :- 1. As an embedded object, by using @Embedded (or the equivalent XML) 2. As a reference (an 'identity'). The user should not need to change anything in their class to do that, and "NoSQL" datastores shouldn't need any special incantations for this. You're simply seeing aspects of standard behaviour that are not implemented in GAE/J's plugin -- 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-j...@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.