Published On Sep 20, 2021
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)
• Java interview questions and answers ...
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:33:19 - @NamedQuery/@NamedQueries quick KT
01:41:03 - Criteria API In Hibernate quick KT[Query/Restrictions /Pagination/Filter demo]
Watch another Java Live Mock [spring/rest/java/microservices
• Java interview questions and answers ... ]
popular java interview questions : Practice Resources
Why HashMap Keys are immutable?
• Java collections interview questions ...
How to protect Your Immutable classes ?
• Immutable Class - interview insights|...
Comparable Vs Comparator (Learn in depth)
• How to sort a collection in java | Co...
What will happen if you will use @service over a DAO?
Learn in-depth :- • @Reposicotry Vs @Service | Spring Boo...
@component vs @service vs @repository
• #10 Coding the service layer in sprin...
Explain spring Bean Lifecycle
• REAL-TIME: Spring Bean life cycle usi...
Java Interview / Question and Answer series
• Java collections interview questions ...
How does Basic Authentication work in Rest API?
• #3 Spring Security Fundamentals | Bas...
How to create custom validators in spring?
• Develop Custom Validators for Spring ...
How hashmap works internally?
• How HashMap works internally || Popul...
List vs Set Vs Vector (in-depth collection interview questions discussion)
• ArrayList vs Vector || Collection Fra...
Collection coding interview questions java
Print duplicate occurrences of string in java
• Java coding interview questions || Pr...
Explain the Signleton design pattern. How spring's singleton scope is different then GOF signleton? (Spring bean scope)
• Decoding Spring Bean scopes | Hands-O...
Give me a code walkthrough on the spring security internal workflow
• Let’s be a PRO - Spring Security Inte...
checkout my free courses on
www.seleniumexpress.com
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 framework tutorial for beginne...
spring mvc
• Spring MVC course introduction || Und...
spring mvc intermediate
• [INTERMEDIATE] Spring MVC Course Prev...
Spring JDBC
• Spring JDBC Course Preview || Let’s t...
spring live project
• #1 Build and Deploy A Spring Project ...
For more free/paid courses visit
https://www.seleniumexpress.com
Email : [email protected]
you can ping me on my Facebook page
/ seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
/ 187000222361579
Follow me on Insta
/ selenium_express