Hibernate Interview questions and answers

  Рет қаралды 82,028

Siva Reddy

Siva Reddy

7 жыл бұрын

Please check out my blog(learnsimple.in) for more technical videos.
For any java/full stack/DevOps/developer/lead positions related mock interviews assistance/Guidance/support, you can reach out me @ sivajavatechie5@gmail.com
In this video, I explained most frequently asked Hibernate Interview questions and answers with real time examples. This session helps you to prepare for Hibernate interview easily.
Hibernate Interview Q&A

Пікірлер: 63
@rajareddy125
@rajareddy125 7 жыл бұрын
Nice explanation .It helped to my interivew got cleared many doubts .Thanks a lotttttttttttttttttt sir.Still am expecting more jave related interview questions like this .Please upload if possible.Thanks
@weekendhoppers
@weekendhoppers 6 жыл бұрын
Great one Sir, saved a lot of time while brushing up. 29:20 I believe you want to mention composite objects not the parent-child classes.
@RanjithKumar-ks7oj
@RanjithKumar-ks7oj 6 жыл бұрын
Hi sir, could you please explain me how checked exceptions are converted into unchecked in detail?
@munnakittu2786
@munnakittu2786 7 жыл бұрын
your explanation is good,,,,, plz post on many to one ,one to many concepts(inheritance concepts)
@nikkjk4329
@nikkjk4329 6 жыл бұрын
Helped to the great Extent Thanks
@raghuram134
@raghuram134 7 жыл бұрын
could you please explain different usecases if two sessions update same object. Thanks...
@shubhamshende9995
@shubhamshende9995 2 жыл бұрын
amazing video sir
@smahbuhs
@smahbuhs 5 жыл бұрын
2 years of being uploaded, still helping guys like me , thumbs up
@SivaReddyJavaTechie
@SivaReddyJavaTechie 5 жыл бұрын
Thanks Shubam. Please refer our KZbin channel to your friends circle as it might be helpful for them. Happy Learning.
@faizalhussainsyed9770
@faizalhussainsyed9770 7 жыл бұрын
Hi, Sir can you please upload the video of Spring Interview questions and answers
@pradeeppathak7668
@pradeeppathak7668 3 жыл бұрын
Super content !!!
@sainathsurkutlawar3771
@sainathsurkutlawar3771 7 жыл бұрын
Nice Explanation Sir...
@SivaReddyJavaTechie
@SivaReddyJavaTechie 7 жыл бұрын
Thanks Sainath.
@maheshuma741
@maheshuma741 7 жыл бұрын
Thank you sir , Good Explanation . If possible please provide video on hibernate3 vs hibernate4 differences with detailed explanation. And also Provide video on session interface methods like (save vs saveOrUpdate vs Update, save vs persist)differences with real time scenarios.
@deaconlondon6170
@deaconlondon6170 2 жыл бұрын
I know I am kinda off topic but do anybody know a good website to stream newly released series online ?
@maheshgaliboina6721
@maheshgaliboina6721 7 жыл бұрын
thank you much,I learned more.
@SivaReddyJavaTechie
@SivaReddyJavaTechie 7 жыл бұрын
Thanks Mahesh
@ranjanayadav6927
@ranjanayadav6927 6 жыл бұрын
good one for revision of concept
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
Thanks Ranjana Yadav
@nvraghavulu116
@nvraghavulu116 6 жыл бұрын
thanks reddy superb explantions
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
Thanks Raghvulu. I'm glad that you liked the videos.
@vinodhkumarramalingam9566
@vinodhkumarramalingam9566 5 жыл бұрын
Very good understanding i got after seeing this video. Thanks Siva:)
@SivaReddyJavaTechie
@SivaReddyJavaTechie 5 жыл бұрын
Thanks Vinodh for liking the video. Please do refer our channel to your friends circle as it might be helpful for them. Happy Learning.
@vinodhkumarramalingam9566
@vinodhkumarramalingam9566 5 жыл бұрын
@@SivaReddyJavaTechie i already have started to share your channel to my friends circle. Pls post a video on spring in detail
@asutoshswain4831
@asutoshswain4831 6 жыл бұрын
we have two table one is employee table with column employee_id, firstname, lastname, designation and other table is Addree table with address_id(pk),pincode,state,country,Address_category, employee_id(fk). The question is retrieve employee permanent address by using Hibernate criteria with the firstname condition Hint : Address_category column putted for permanet value or office or other... SQL Query Like : select * from employee_table et, Addree_table at where et.employee_id == at.employee_id and et.firstname = 'somename' and at.Address_category='pemanent';
@robinhoodpandey2187
@robinhoodpandey2187 5 жыл бұрын
Awesome video Sir Ji
@SivaReddyJavaTechie
@SivaReddyJavaTechie 5 жыл бұрын
Thanks Robinhood. Please refer our KZbin channel to your friends circle as it might be helpful for them. Happy Learning.
@srujanachint5432
@srujanachint5432 6 жыл бұрын
Simple to understand. Can you plz provide the PDF of these questions. It will be more helpful.
@PankajKumar-qk8oh
@PankajKumar-qk8oh 6 жыл бұрын
sir please add more interview questions for 5+ years exp java developer for spring and webservices(Rest)
@utkarshgandhi7394
@utkarshgandhi7394 7 жыл бұрын
Hello Sir, can you explain optimistic and pesimistic locking in hibernate
@AshaDevi-rh6vu
@AshaDevi-rh6vu 6 жыл бұрын
Good video. Thanks Siva.
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
Thanks Asha.
@sanjaymutkule484
@sanjaymutkule484 5 жыл бұрын
sir i have one question ---> when we use idbc and when we use hibernate?
@ravindra0295
@ravindra0295 6 жыл бұрын
in which case we need to use load() method, and load() method is lazy loading then what is its benefits
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
The one difference between get() and load() is how they indicate that the instance could not be found. If no row with the given identifier value exists in the database, get() returns null. The load() method throws an ObjectNotFoundException. It’s your choice what error-handling you prefer. More important, the load() method may return a proxy, a placeholder, without hitting the database. A consequence of this is that you may get an ObjectNotFoundException later, as soon as you try to access the returned placeholder and force its initialization. The load() method always tries to return a proxy, and only returns an initialised object instance if it’s already managed by the current persistence context. In the example shown earlier, no database hit occurs at all! The get() method on the other hand never returns a proxy, it always hits the database. You may ask why this option is useful-after all, you retrieve an object to access it. It’s common to obtain a persistent instance to assign it as a reference to another instance. For example, imagine that you need the item only for a single purpose: to set an association with a Comment: a Comment.setForAuction(item). If this is all you plan to do with the item, a proxy will do fine; there is no need to hit the database. In other words, when the Comment is saved, you need the foreign key value of an item inserted into the COMMENT table. The proxy of an Item provides just that: an identifier value wrapped in a placeholder that looks like the real thing.
@ravindra0295
@ravindra0295 6 жыл бұрын
Thank you soooo much Sir☺☺
@suneelreddy5267
@suneelreddy5267 5 жыл бұрын
Thank you.
@SivaReddyJavaTechie
@SivaReddyJavaTechie 5 жыл бұрын
Thanks Sunil. Please refer our KZbin channel to your friends circle as it might be helpful for them. Happy Learning.
@mubeenkazi9005
@mubeenkazi9005 5 жыл бұрын
Good job
@SivaReddyJavaTechie
@SivaReddyJavaTechie 5 жыл бұрын
Thanks Mubeen.
@sainandangolla3080
@sainandangolla3080 7 жыл бұрын
sir, please make videos on RELATIONSHIP'S
@AbhishekSingh-jt9fn
@AbhishekSingh-jt9fn 4 жыл бұрын
When does hibernate-cfg.xml file loads??
@SivaReddyJavaTechie
@SivaReddyJavaTechie 4 жыл бұрын
On Server start, it loads hibernate-cfg.xml file and create SessionFactory for hibernate.
@rameshkumar-qe2vw
@rameshkumar-qe2vw 7 жыл бұрын
Sir, plz explain more on caching(with example)& hibernate inheritance mapping
@SivaReddyJavaTechie
@SivaReddyJavaTechie 7 жыл бұрын
Hi Ramesh, I uploaded video for First Level Cache in Hibernate with example. Here is the URL - kzbin.info/www/bejne/a2bQqKZor7iZr8k Please stay tuned for more updates.
@ManishSingh-nd3zf
@ManishSingh-nd3zf 4 жыл бұрын
Thanku sir
@SivaReddyJavaTechie
@SivaReddyJavaTechie 4 жыл бұрын
Thanks Manish. Please refer our KZbin channel to your friends circle as it might be helpful for them. Happy Learning.
@rohitshirsat4759
@rohitshirsat4759 6 жыл бұрын
Coding part is not visible :(
@swapnareddy2663
@swapnareddy2663 6 жыл бұрын
Can u please explain more examples for caching and hibernate mappings
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
Hi Swapna - I will upload the videos on requested topics soon. Please stay tuned.
@AliAzizQualityEducation
@AliAzizQualityEducation 3 ай бұрын
Java Hibernate Interview Top 50 Q&A for Success kzbin.info/www/bejne/o3SzZoKimpKgsM0
@ganeshgulhane8814
@ganeshgulhane8814 6 жыл бұрын
Mapping in hibernate
@xvandana66
@xvandana66 5 жыл бұрын
could you provide the document that you are ussing in video :)
@SivaReddyJavaTechie
@SivaReddyJavaTechie 5 жыл бұрын
You can download the document @ github.com/sivajavatechie/DemoDocuments/blob/master/Java%20Docs/HibernateQ%26A.pdf
@sudarshanborade6041
@sudarshanborade6041 5 жыл бұрын
Sir can you upload spring interview questions and answers
@SivaReddyJavaTechie
@SivaReddyJavaTechie 5 жыл бұрын
Hi Sudarshan, you can find the spring interview Q & A @ kzbin.info/www/bejne/hXmbhJyCjc6ChM0
@palanirajkumar4904
@palanirajkumar4904 4 жыл бұрын
vedio very nice, but below toppic is missing one to one mapping , 1 to many , many to 1 , many to many ????????
@gauravbhambhani8905
@gauravbhambhani8905 6 жыл бұрын
Very basic hibernate explanation given not sufficient for experienced developers. No context on Mapping, Cascade, Transaction Management etc.
Java Interview Q&A on Multi-Threading
34:16
Siva Reddy
Рет қаралды 82 М.
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 52 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 9 МЛН
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 54 МЛН
Springboot Interview Q&A
24:40
Siva Reddy
Рет қаралды 20 М.
When to use Abstract class and When to use Interface in Java
20:04
Java 8 Streams programs you must prepare for Java Interviews
23:02
Most Asked Hibernate Interview Questions | Interview Preparation
21:24
Byte Programming
Рет қаралды 10 М.