Get more recipes like this one in my new book Hibernate Tips: More than 70 solutions to common Hibernate problems: [ Ссылка ]
I got the following question via email and thought that it is an interesting topic for a Hibernate Tip. So here it is: I saw JPQL queries using JOIN, LEFT JOIN and JOIN FETCH statement. What are the differences between these 3 join statements?
You might know the JOIN and LEFT JOIN statements from SQL. It supports clauses with the same name and a very similar syntax. The JOIN FETCH clause is specific to JPA.
Let’s take a closer look at all 3 options in this video.
If you like this video, please give me your thumbs up and share it with your friends and co-workers.
Like my channel? Subscribe!
➜ [ Ссылка ]
Join the free Member Library:
[ Ссылка ]
Read the accompanying post: [ Ссылка ]
Want to connect with me?
Blog: [ Ссылка ]
Twitter: [ Ссылка ]
Facebook: [ Ссылка ]
![](https://s2.save4k.ru/pic/7ZW8mEwggD0/maxresdefault.jpg)