Thank you for sharing, Thorben. Very useful your explanation, as always.
@Thorben-Janssen3 ай бұрын
Thanks Pedro!
@ferlezcano3 ай бұрын
Thorben, great video as always! 💪
@Thorben-Janssen3 ай бұрын
Appreciate it!
@chanchhaya3 ай бұрын
Thank you for sharing, teacher
@Thorben-Janssen3 ай бұрын
Thanks for watching :)
@mjr-g5d17 күн бұрын
How can I make a composite primary key but this compsite primary key contains tow or more fields coming from another class as a foreign key in jpa
@MrMikopi3 ай бұрын
Small question on the last part: Does that mean that it's a good practice to store all ToMany relations in Set?
@Thorben-Janssen3 ай бұрын
Yes, it is. It enables you to fetch multiple of them using JOIN FETCH clauses or EntityGraphs, and avoids some inefficient handling of many-to-many relationships
@Baalerion3 ай бұрын
What if the books can be of a different subclasses and you want to fetch the attributes that exist only on a given subclass? For example if some books are of a subclass "ScienceBook" that have a field scienceFacts and you want to fetch that also?
@Thorben-Janssen3 ай бұрын
Hibernate automatically fetches the correct subclass if you annotate your entity classes with @Inheritance to map your inheritance hierarchy
@alexmorland16193 ай бұрын
Nice
@Thorben-Janssen3 ай бұрын
Thanks
@erikgollot63313 ай бұрын
You should talk about cartesian product in your 2nd example. You say huge but do not give enough example to my opinion You should also insist on duplication of data on each row
@Thorben-Janssen3 ай бұрын
Thanks for the feedback. That's what I meant, when I spoke about the author who wrote 5 books with 100 reviews. I explained that in more details in the previous video and didn't want to repeat myself. Maybe that was the wrong decision
@krasnoj3 ай бұрын
@@Thorben-Janssen For me, everything was clear. Also for erikgollot6331 was everything clear, else he could not made this suggestion.
@erikgollot63313 ай бұрын
I hope you will talk about @BatchSize next
@MrMikopi3 ай бұрын
Yes! I would especially be interested with: Setting batch sizes that effect all project vs setting a batch size for specific methods (batch / bulk methods for example).