Hibernate Interview questions and answers

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 63

  • @shubhamshende9995
    @shubhamshende9995 2 года назад +1

    amazing video sir

  • @munnakittu2786
    @munnakittu2786 7 лет назад +4

    your explanation is good,,,,, plz post on many to one ,one to many concepts(inheritance concepts)

  • @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';

  • @vinodhkumarramalingam9566
    @vinodhkumarramalingam9566 5 лет назад +2

    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 лет назад +1

      @@SivaReddyJavaTechie i already have started to share your channel to my friends circle. Pls post a video on spring in detail

  • @smahbuhs
    @smahbuhs 5 лет назад +1

    2 years of being uploaded, still helping guys like me , thumbs up

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  5 лет назад

      Thanks Shubam. Please refer our RUclips channel to your friends circle as it might be helpful for them. Happy Learning.

  • @pradeeppathak7668
    @pradeeppathak7668 3 года назад

    Super content !!!

  • @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.

  • @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

  • @srujanachint5432
    @srujanachint5432 7 лет назад

    Simple to understand. Can you plz provide the PDF of these questions. It will be more helpful.

  • @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 3 года назад

      I know I am kinda off topic but do anybody know a good website to stream newly released series online ?

  • @sainathsurkutlawar3771
    @sainathsurkutlawar3771 7 лет назад +1

    Nice Explanation Sir...

  • @PankajKumar-qk8oh
    @PankajKumar-qk8oh 6 лет назад +1

    sir please add more interview questions for 5+ years exp java developer for spring and webservices(Rest)

  • @ranjanayadav6927
    @ranjanayadav6927 7 лет назад

    good one for revision of concept

  • @maheshgaliboina6721
    @maheshgaliboina6721 7 лет назад

    thank you much,I learned more.

  • @sanjaymutkule484
    @sanjaymutkule484 5 лет назад

    sir i have one question ---> when we use idbc and when we use hibernate?

  • @nikkjk4329
    @nikkjk4329 7 лет назад

    Helped to the great Extent Thanks

  • @faizalhussainsyed9770
    @faizalhussainsyed9770 7 лет назад +1

    Hi, Sir can you please upload the video of Spring Interview questions and answers

  • @nvraghavulu116
    @nvraghavulu116 6 лет назад

    thanks reddy superb explantions

  • @AshaDevi-rh6vu
    @AshaDevi-rh6vu 7 лет назад

    Good video. Thanks Siva.

  • @robinhoodpandey2187
    @robinhoodpandey2187 5 лет назад

    Awesome video Sir Ji

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  5 лет назад +1

      Thanks Robinhood. Please refer our RUclips channel to your friends circle as it might be helpful for them. Happy Learning.

  • @RanjithKumar-ks7oj
    @RanjithKumar-ks7oj 7 лет назад

    Hi sir, could you please explain me how checked exceptions are converted into unchecked in detail?

  • @mubeenkazi9005
    @mubeenkazi9005 5 лет назад +1

    Good job

  • @utkarshgandhi7394
    @utkarshgandhi7394 7 лет назад

    Hello Sir, can you explain optimistic and pesimistic locking in hibernate

  • @suneelreddy5267
    @suneelreddy5267 5 лет назад +1

    Thank you.

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  5 лет назад +1

      Thanks Sunil. Please refer our RUclips channel to your friends circle as it might be helpful for them. Happy Learning.

  • @raghuram134
    @raghuram134 7 лет назад

    could you please explain different usecases if two sessions update same object.
    Thanks...

  • @sainandangolla3080
    @sainandangolla3080 7 лет назад

    sir, please make videos on RELATIONSHIP'S

  • @rameshkumar-qe2vw
    @rameshkumar-qe2vw 8 лет назад

    Sir, plz explain more on caching(with example)& hibernate inheritance mapping

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  8 лет назад

      Hi Ramesh,
      I uploaded video for First Level Cache in Hibernate with example. Here is the URL - ruclips.net/video/55mws2zSfyg/видео.html
      Please stay tuned for more updates.

  • @gauravbhambhani8905
    @gauravbhambhani8905 6 лет назад +2

    Very basic hibernate explanation given not sufficient for experienced developers. No context on Mapping, Cascade, Transaction Management etc.

  • @palanirajkumar4904
    @palanirajkumar4904 4 года назад

    vedio very nice, but below toppic is missing one to one mapping , 1 to many , many to 1 , many to many ????????

  • @AbhishekSingh-jt9fn
    @AbhishekSingh-jt9fn 5 лет назад

    When does hibernate-cfg.xml file loads??

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  5 лет назад +1

      On Server start, it loads hibernate-cfg.xml file and create SessionFactory for hibernate.

  • @AliAzizQualityEducation
    @AliAzizQualityEducation 7 месяцев назад

    Java Hibernate Interview Top 50 Q&A for Success
    ruclips.net/video/mCP5Ole-mzk/видео.html

  • @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.

  • @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☺☺

  • @ManishSingh-nd3zf
    @ManishSingh-nd3zf 4 года назад

    Thanku sir

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  4 года назад

      Thanks Manish. Please refer our RUclips channel to your friends circle as it might be helpful for them. Happy Learning.

  • @rohitshirsat4759
    @rohitshirsat4759 7 лет назад

    Coding part is not visible :(

  • @xvandana66
    @xvandana66 6 лет назад

    could you provide the document that you are ussing in video :)

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  6 лет назад

      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 @ ruclips.net/video/OH8SiLXiONk/видео.html

  • @ganeshgulhane8814
    @ganeshgulhane8814 7 лет назад

    Mapping in hibernate