RCollins wrote:
> 
> Second.  Answer this question for me.  If table “A” has a field called
> “description” would you expect a join with the following query:
> 
> SELECT b.a.description FROM B where B.id = ‘123’
> 

In the case when I want to fetch only ID of relation, there shouldn't be any
joins. On the other hand when I want to fetch any other columns I agree with
you, the join have to be added.

-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/Unnecesery-INNER-JOIN-tp5297321p5328654.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to