Ok.  Sorry for the delay in response.  I have been having email problems.

First things first, JPQL and SQL are not two totally different things.  A
developer needs to understand SQL before they begin trying JPQL.  This is a
MUST.  The developer needs to understand what is going on under the hood in
order to be affective at creating efficient code.  I would be willing to bet
that those that do not take that approach are writing bad JPQL and thus bad
SQL is getting generated.  Sorry for the rant.

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’

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

Reply via email to