Java mock interview | Hibernate / JPA | java interview questions and answers for experienced 5 years

preview_player
Показать описание
This Live java mock interview contains a variety ofJava interview questions from Java, JPA, Hibernate, and Spring. In this specific video we will discuss few most Asked interview questions in hibernate and in the part - 2 of this interview we will discuss more of coding challenges and Spring and Microservices questions.

Candidate Info : Name: Yash Bhatia
Profile: Java Developer
Years Of Experience: 4+
Work Location: Delhi, India
Keyskills: Java, Microservices, Spring, Restful Webservices, Hibernate, JPA, Spring Data

Watch Previous Mock (Discussion on Spring / Microservices / Java / Restful Webservices)

Timestamp :
00:00:00- Introduction
00:03:46 - Q1. Difference between Hibernate and Jdbc (hibernate vs JDBC)
00:06:53 - Q2. Session VS Session factory (Differences)
00:09:57 - Q3. Can you create multiple session factory objects? Justify your answer!
00:11:09 - Q4. What is the equivalent object of the session in JPA?
00:13:04 - Q5. What is persistence context in JPA / Hibernate?
00:14:55 - Q6. Explain the first level of caching in Hibernate.
00:20:00 - Q7. Justify the difference between get() and load() in Hibernate.
00:24:00 - Q8. get method Vs load method [Coding Challenge]
00:32:17 - Q9. Explain the transient state in JPA/ Hibernate.
00:37:17 - Q10. What is a detached state in hibernate?
00:37:50 - Q11. How to detach an entity object from the persistence state without closing the session?
00:41:58 - Q12. Coding challenge on Hibernate states.
00:46:50 - Q13 - Why do we need a connection pool?
00:52:56 - Q14 - How will you implement connection pooling in your project?
00:57:18 - Q15- What are the fetch types available in hibernate? Explain how will you use it in real-time.
01:01:18 - Q16 - Eagar Vs Lazy code practice
01:12:29 - Q17 - What is a @Generated value annotation? Explain the different generation types available in JPA / hibernate.
01:19:11 - Q18 - Code Practice [Auto Vs Identity Vs Table generation type]
01:27:29 - Q19 - Explain the advantages of Named queries in hibernate/JPA?
01:29:20 - Q20 - What is Criteria API in Hiberante? Explain the advantages.
01:41:03 - Criteria API In Hibernate quick KT[Query/Restrictions /Pagination/Filter demo]

Watch another Java Live Mock [spring/rest/java/microservices

popular java interview questions : Practice Resources

Why HashMap Keys are immutable?

How to protect Your Immutable classes ?

Comparable Vs Comparator (Learn in depth)

What will happen if you will use @service over a DAO?

@component vs @service vs @repository

Explain spring Bean Lifecycle

Java Interview / Question and Answer series

How does Basic Authentication work in Rest API?

How to create custom validators in spring?

How hashmap works internally?

List vs Set Vs Vector (in-depth collection interview questions discussion)

Collection coding interview questions java
Print duplicate occurrences of string in java

Explain the Signleton design pattern. How spring's singleton scope is different then GOF signleton? (Spring bean scope)

Give me a code walkthrough on the spring security internal workflow

checkout my free courses on

Category :

Hibernate / JPA
hibernate interview questions
Java interview questions and answers for experienced
java interview questions and answers for experienced 5 years
java interview questions coding
java coding interview questions and answers

Useful playlist :
spring core

spring mvc

spring mvc intermediate

Spring JDBC

spring live project

For more free/paid courses visit

you can ping me on my Facebook page

Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"

Follow me on Insta
Рекомендации по теме
Комментарии
Автор

It definitely helps a lot, expecting the questions on real time production scenarios, Please do a session o design patterns, data structures and micro services as well.

pattanfirozkhan
Автор

Thank you, it reminds all the concepts in one go. Very Good for last day interview preparation and also good to help to core concepts.

parthpatel
Автор

I am preparing for the interviews these days, and your these 2 videos (mock interviews) just helped a lot. thanks Abhilash.

anjurawatkathait
Автор

wonderful interview... I learned so many things, and I will request you take this type of interview so that we can get more knowledge from you😀. Happy learning, thank you so much

ayat_middya
Автор

Thank a lot Abhilash. I have watched all your videos on mock interviews. And it has helped me a lot. I am planning to watch your other videos on java soon. Your explaination is simple and very clear.

RahulSingh-qesw
Автор

You are just a day late, Abhilash. I was asked maximum questions out of these 20 yesterday. The animations are just awesome. Just WOW!

anuragk
Автор

I will make sure to share this amazing video, it takes so much effort to make such a long video with such detailing..Kudos keep it up.

jainampiparia
Автор

I am writing this comment even before watching the content that Its going to be a quality content.

devashishmanjhi
Автор

Nice n helpful video...keep it up Abhilash..nice work.

supriyakamble
Автор

Veri useful and very detailed discussion

BhaveshSarvaiya
Автор

This video could not get any better than this....well there might be more than what I expect in future... but for current time, masterpiece. This completely feels like podcast of programming interview....

nstha
Автор

Thank you so much Abhilash for these mocks. :)

ps_tech
Автор

Thank you so much for constantly giving us depth knowledge about java. No doubt it helps a lot. Again I thank you for your free content. Love from Odisha ❤️💐

babunabiswal
Автор

I have started preparing for interview. After watching this video, I am feeling confident in Hibernate QAs. Thanks for this awesome video.

kamalghai
Автор

Amazing question 😊 loved the whole mock session and learned a lotttt

priyankapal
Автор

How come i missed your videos till now..You are just awesome..

ManojKumar-xjfw
Автор

cleared couple of doubt for jpa-jdbc-hibernate watching this . Thanks.

arsalalam
Автор

Really useful content for everyone. Also please make the Design pattern and data structure videos if possible. bcoz I wonder when u talked abt the load method (Proxy pattern). So if u explain the DS and Design pattern that will help us pretty much. Anyhow thanks for ur effort.

pratheeban
Автор

Please continue this series and it was more informative and interactive.

mohammedsardar
Автор

Thanks too much. That's a lot to me. Your graphical expressions are marvelous!!

tzhynt