Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

Hibernate Interview Questions and Answers

  Difficulty Level: AllBeginnerIntermediateExpert

Ques 1. What is Hibernate?

Ques 2. What is ORM?

Ques 3. What does an ORM solution comprises of?

Ques 4. What are the different levels of ORM quality?

Ques 5. What is a pure relational ORM?

Ques 6. Why do you need ORM tools like hibernate?

Ques 7. What is a meant by light object mapping?

Ques 8. What is a meant by medium object mapping?

Ques 9. What is meant by full object mapping?

Ques 10. What are the benefits of ORM and Hibernate?

Ques 11. What the Core interfaces are of hibernate framework?

Ques 12. What are Callback interfaces?

Ques 13. What should SessionFactory be placed so that it can be easily accessed?

Ques 14. What are POJOs?

Ques 15. What is object/relational mapping metadata?

Ques 16. What is HQL?

Ques 17. What are the most common methods of Hibernate configuration?

Ques 18. What are the important tags of hibernate.cfg.xml?

Ques 19. What role does the Session interface play in Hibernate?

Ques 20. What role does the SessionFactory interface play in Hibernate?

Ques 21. What is the general flow of Hibernate communication with RDBMS?

Ques 22. What is Hibernate Query Language (HQL)?

Ques 23. How do you map Java Objects with Database tables?

Ques 24. What Does Hibernate Simplify?

Ques 25. What is the difference between load() and get()?

Ques 26. What is the difference between and merge and update?

Ques 27. How do you define sequence generated primary key in hibernate?

Ques 28. Define cascade and inverse option in one-many mapping?

Ques 29. What does it mean to be inverse?

Ques 30. What do you mean by Named - SQL query?

Ques 31. How do you invoke Stored Procedures?

Ques 32. Explain Criteria API?

Ques 33. Define HibernateTemplate?

Ques 34. What are the benefits does HibernateTemplate provide?

Ques 35. How do you switch between relational databases without code changes?

Ques 36. If you want to see the Hibernate generated SQL statements on console, what should we do?

Ques 37. What are derived properties?

Ques 38. What is component mapping in Hibernate?

Ques 39. What is the difference between sorted and ordered collection in hibernate?

Ques 40. How will you configure Hibernate?

Ques 41. What is a SessionFactory? Is it a thread-safe object?

Ques 42. What is a Session? Can you share a session object between different threads?

Ques 43. What are the benefits of detached objects?

Ques 44. What are the pros and cons of detached objects?

Ques 45. How does Hibernate distinguish between transient (i.e. newly instantiated) and detached objects?

Ques 46. What is the difference between the session.get() method and the session.load() method?

Ques 47. What is the difference between the session.update() method and the session.lock() method?

Ques 48. How would you reatach detached objects to a session when the same object has already been loaded into the session?

Ques 49. What are the general considerations or best practices for defining your Hibernate persistent classes?

Ques 50. What does ORM consists of?

Ques 51. What are the ORM level?

Ques 52. What is CRUD?

©2016 WithoutBook