If i have a class such as this:

class Person {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Key id;
}

and had a 1-N unmanaged relation ship:
class Car {
Person person;
}

Is there a way to preform a jpql query to get all cars owned by a
certain person? That is without adding another string in Car holding a
key value for a Person?

I'm trying to de-normalise my data manually instead of relying on jpa
to use lazy joins. I still need the person and car objects to be in
the same entity group so I can use transactions.

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