Understanding ORM and Hibernate @OneToMany, @ManyToOne, and @JoinColumn

Ғылым және технология

I’m happy, that finally we have a complete tutorial that addresses the challenges faced by many programmers. Entity relationships(@OneToMany and @ManyToOne). So everything about relationships in covered here. Use the links to quickly jump to any section you want.
We explain the concept, then we implement it.
Part 1 - Introductionwww.kindsonthegenius.com/2019...
Part 2 - Setting Up www.kindsonthegenius.com/2019...
Part 3 - @ManyToOne www.kindsonthegenius.com/2019...
Part 4 - Configuring H2 Database www.kindsonthegenius.com/2019...
Part 5 - Database Initialization(data.sql) www.kindsonthegenius.com/2019...
Part 6 - @OneToMany www.kindsonthegenius.com/2019...
Part 7 - mappedBy Attribute www.kindsonthegenius.com/2019...
Part 8 to 12 - Infinite Recursion, @JoinColumn, JsonManagedReference etc www.kindsonthegenius.com/2019...
Part 13 to 16 - Retrieving Child Records www.kindsonthegenius.com/2019...
Part 17 to 20 - Inserting New Records. Using REST Client www.kindsonthegenius.com/2019...
Part 21 to 28 - Deleting, CascadeTypes and FetchTypes www.kindsonthegenius.com/2019...
Subscribe Kindson The Tech Pro KZread: bit.ly/2PpJd8Q
Join my group ICS on Facebook: bit.ly/2UULiQj
Follow me on Instagram - / kindsonm
Connect with me on LinkedIn: / kindson
Follow me on Twitter: / kindsonm
Github - github.com/KindsonTheGenius
Learn about me: www.kindsonthegenius.com
Microservices Tutorial Step by Step Procedure here: bit.ly/2I6gCDD
Microservices Tutorial Source Codes here: bit.ly/2It8fkp
How to Build Microservices in Java Using Spring Tool Suite and Eureka
CQRS and Event Sourcing with Axon Framework Tutorial Series for Beginners (Step by Step

Пікірлер: 30

  • @okwuchukwuokwara1522
    @okwuchukwuokwara15222 жыл бұрын

    Great explanation Kindson, I followed with an actual project and it came out excellent. God Bless you

  • @rhameslima1551
    @rhameslima15513 жыл бұрын

    Helped me a lot, thanks!

  • @dineshnatarajan3420
    @dineshnatarajan34204 жыл бұрын

    Nice tutorial, i wish you complete this with showing joinColumn in tables

  • @balikeanna5382
    @balikeanna53822 жыл бұрын

    Thanks sir,concept well explain,Am happy to come across your channel

  • @KindsonTheTechPro

    @KindsonTheTechPro

    2 жыл бұрын

    I"m so glad!!

  • @wannabeserpento99
    @wannabeserpento993 жыл бұрын

    If I already have a database set with all the relations and all that stuff, do I still need to make these annotations or does hibernate(using panache) detect it?

  • @yevheniikozhevin5845
    @yevheniikozhevin58454 жыл бұрын

    thank you so much

  • @mandeepsharma8305
    @mandeepsharma83053 жыл бұрын

    It was very funny in the end.

  • @shoazimov8620
    @shoazimov86203 жыл бұрын

    It would be better if the video quality was better. I wish, it's fixable. But in general, the tutorial is great

  • @KindsonTheTechPro

    @KindsonTheTechPro

    3 жыл бұрын

    Working on it

  • @vinkemtechnologies8962
    @vinkemtechnologies89622 ай бұрын

    where is the link to the website?

  • @manimaranravichandhran1065
    @manimaranravichandhran10653 жыл бұрын

    I'm waiting for @Joincolumn please put on it

  • @1komentator
    @1komentator3 жыл бұрын

    Content and explanation is great, but sound quality drastically drops in second half of the video

  • @Lebastian
    @Lebastian3 жыл бұрын

    great video!

  • @KindsonTheTechPro

    @KindsonTheTechPro

    3 жыл бұрын

    Thanks! And do remember to subscribe 😃

  • @Das.Kleine.Krokodil
    @Das.Kleine.Krokodil Жыл бұрын

    Do I understand correctly that if there are two entities with a One-to-Many relationship, such as Employee and EmployeePhones. Then you need to receive such data on the server in DTO with one call, but with two separate json? And write down one by one: first the employee, get the ID from the saved employee, and then we record the phones using this ID for communication.

  • @KindsonTheTechPro

    @KindsonTheTechPro

    Жыл бұрын

    Yes, if you must have two separate json files. But why do you need two separate json?

  • @rauliciii
    @rauliciii3 жыл бұрын

    I wasted 30 minutes of my life and then you didn't show me the JoinColumn annotation

  • @shashikanthchannagiri8603
    @shashikanthchannagiri86033 жыл бұрын

    Great Tutorial. Sound Quality is not good

  • @moonshine4757
    @moonshine47573 жыл бұрын

    Honest openion, your explanation was good, but there was so much of disturbance, couldn't hear many words. Please improve the quality of video.

  • @KindsonTheTechPro

    @KindsonTheTechPro

    3 жыл бұрын

    Noted and thanks. I already replaced of the gadgets

  • @fookoboy9623
    @fookoboy9623 Жыл бұрын

    where should i use @joinColumn for locaation

  • @randommode3016
    @randommode30162 жыл бұрын

    11:24 @ManyToOne 13:38 testing code

Келесі