JPA/Hibernate Fundamentals 2023 - Lesson 14 - Join and subqueries with criteria query

  Рет қаралды 3,363

Laur Spilca

Laur Spilca

Күн бұрын

Пікірлер: 17
@derzerstorer9001
@derzerstorer9001 2 күн бұрын
Thank you very much for this tutorial! Learned a lot from this🤗
@laurspilca
@laurspilca 21 сағат бұрын
Happy to hear!
@rohitgupta025
@rohitgupta025 10 ай бұрын
Great Video, Excellent Knowledgeable stuff, one small suggestion , please zoom MySQL workbench
@laurspilca
@laurspilca 11 ай бұрын
Code on GitHub: github.com/lspil/youtubechannel/tree/master/jpa_2023_c14_e1
@mohammedhegazy1778
@mohammedhegazy1778 11 ай бұрын
I think you forget to put the schema for my sql database for this lesson in github
@laurspilca
@laurspilca 11 ай бұрын
@@mohammedhegazy1778 Hello. I didn't because I simply let Hibernate generate it. This is ok for learning, but remember not use do this in real life apps :)
@mohammedhegazy1778
@mohammedhegazy1778 11 ай бұрын
I know that but instead of adding data to tables manually and takes times only for that 😂😂@@laurspilca
@jaswanthreddyputluru4889
@jaswanthreddyputluru4889 7 сағат бұрын
heyy laur , what if i dont want my hibernate to create tables and say i created join tables by myself , now how hibernate knows which table to refer , hwo to make sure that hibernate uses specific join table when there are multiple join tables for example in this lesson there are 2 join tables , i totally understood the situation when hibernate creates tables because it knows what it created but what if in other case ?
@zabialy2919
@zabialy2919 6 ай бұрын
I have trouble doing pagination when joining. I have an Parent Entity A which has a collection of children B. When joining them, and setting first result to 0 and max results to 10. I expect having 10 results. But when the children B are for example 2 per parent entity A. I only get 5 results. It seems all the Entities together count. How can I avoid that and implement pagination, while joining the Entities? Thanks in advance! :)
@OsteenOmega
@OsteenOmega 8 ай бұрын
Hello sir. if i have an application with many joins and queries, can i use stored procedures? or should i just use jpql queries in jpa? which one do you recommend
@laurspilca
@laurspilca 8 ай бұрын
Hello. Difficult to answer this one. It really depends on many things and unless I investigate a case I cannot give advice.
@zabialy2919
@zabialy2919 11 ай бұрын
Is there a way to do a join with entity inheritance? I have the InheritanceType.JOINED. There is an abstract parent Entity with generic data. The Entity extending has it own specific data, and by inheritance the parents general data. As there will be more specific extending entities. I want to have my relationships with other tables on the abstract parent Entity. So the aim is to join the specific Entity with the generic one and then with the other table in order to filter the data based on the join. Or is the only option to add the relationship owning to all specific (these extending the parent entity) Entities.
@laurspilca
@laurspilca 11 ай бұрын
Hi. Not sure I understand. An entity cannot be abstract. If it's abstract then it should be a mapped superclass.
@zabialy2919
@zabialy2919 11 ай бұрын
@@laurspilca Ok, I don't know why but after your answer I got on track to find my solution. By the way your videos are very helpful. Greetings from Poland!
@laurspilca
@laurspilca 11 ай бұрын
@@zabialy2919 Cool!
JPA/Hibernate Fundamentals 2023 - Lesson 15 - Entity Graphs
47:55
Laur Spilca
Рет қаралды 3,4 М.
On NoSQL and more persistent options with Calin Constantinov
42:10
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Was I Wrong About Blazor? | Coding Shorts 111
16:35
Shawn Wildermuth
Рет қаралды 27 М.
JPA / Hibernate Marathon
3:47:39
Laur Spilca
Рет қаралды 2,7 М.
JPA/Hibernate Fundamentals 2023 - Lesson 13 - Criteria query
51:45
Laur Spilca
Рет қаралды 4,8 М.
Anthropic MCP + Ollama. No Claude Needed? Check it out!
18:06
What The Func? w/ Ed Zynda
Рет қаралды 8 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 219 М.
Simon Sinek's Advice Will Leave You SPEECHLESS 2.0 (MUST WATCH)
20:43
Alpha Leaders
Рет қаралды 672 М.
JPA/Hibernate Fundamentals 2023 - Lesson 16 - Spring Data JPA
45:16
Is Functional Programming DEAD Already?
21:07
Continuous Delivery
Рет қаралды 75 М.
Evolution of software architecture with the co-creator of UML (Grady Booch)
1:30:43
The Pragmatic Engineer
Рет қаралды 45 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН