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.
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?
Nice tutorial, i wish you complete this with showing joinColumn in tables
Great explanation Kindson, I followed with an actual project and it came out excellent. God Bless you
Thanks sir,concept well explain,Am happy to come across your channel
I"m so glad!!
It would be better if the video quality was better. I wish, it's fixable. But in general, the tutorial is great
Working on it
Content and explanation is great, but sound quality drastically drops in second half of the video
Helped me a lot, thanks!
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.
Yes, if you must have two separate json files. But why do you need two separate json?
great video!
Thanks! And do remember to subscribe 😃
It was very funny in the end.
where is the link to the website?
Link to the website here www.kindsonthegenius.com/hibernate-relationship-tutorial-onetomany-and-manytoone/
I'm waiting for @Joincolumn please put on it
Great Tutorial. Sound Quality is not good
Honest openion, your explanation was good, but there was so much of disturbance, couldn't hear many words. Please improve the quality of video.
Noted and thanks. I already replaced of the gadgets
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?
I wasted 30 minutes of my life and then you didn't show me the JoinColumn annotation
thank you so much
11:24 @ManyToOne
13:38 testing code
where should i use @joinColumn for locaation