Hi Guys

I know that you can make use JOIN statements in Google App Engine but is 
there any way to query a parent based on values of it's children given the 
domain model below?

@Entity
public class Parent {

@Id
String id;

@OneToMany(cascade = CascadeType.ALL)
private List<Child> children = new ArrayList<Child>();

...

}

@Entity
public class Child {

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Key key;

@Basic
String value;

...

}

TIA...
-- Ricardo

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