The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

boy18nj (112) [Avatar] Offline
#1
book says-
You might have noticed that there is a world of difference between the following
queries:
from Bid b where b.item.id = 1
from Bid b where b.item.description like '%gc'
The second query uses an implicit table join; the first has no joins at all.


But as far as i can say, both queries are using the implicit table join.

Can you please shed light on it?
boy18nj (112) [Avatar] Offline
#2
Re: Page-269- Understanding the implicit join-
I got the answer-

In the first query there is no need to join as the item.id is already available in the bid table due to the FK relationship .