Re: SQL generation for OneToMany object graph

2009-07-02 Thread Fay Wang
- Original Message From: David Minor davemi...@gmail.com To: users@openjpa.apache.org Sent: Monday, June 29, 2009 5:23:25 PM Subject: SQL generation for OneToMany object graph Hi, If I have a deep object graph with a root element that has OneToMany relationships with other elements

Re: SQL generation for OneToMany object graph

2009-07-02 Thread Fay Wang
:23:25 PM Subject: SQL generation for OneToMany object graph Hi, If I have a deep object graph with a root element that has OneToMany relationships with other elements, and those have OneToMany relationships (and so on), and all the objects are included via a fetch group, how does openjpa decide how

Re: SQL generation for OneToMany object graph

2009-07-02 Thread Fay Wang
Hi David, Do you mind sending me your entity definitions for further investigation? Regards, Fay - Original Message From: David Minor davemi...@gmail.com To: users@openjpa.apache.org Sent: Thursday, July 2, 2009 9:38:47 AM Subject: Re: SQL generation for OneToMany object graph

SQL generation for OneToMany object graph

2009-06-29 Thread David Minor
Hi, If I have a deep object graph with a root element that has OneToMany relationships with other elements, and those have OneToMany relationships (and so on), and all the objects are included via a fetch group, how does openjpa decide how to generate the SQL for a statement like: SELECT r FROM