Hibernate MCQ Questions and Answers

  1. Hibernate is a ___________?
  2. HQL Stands for
  3. Which element in hibernate maps java.util.SortedMap property ?
  4. How many layers are available in Hibernate architecture
  5. Hibernate SessionFactory represent which level of cache ?
  6. Hibernate uses PersisterClassProvider by default.
  7. _______________ object is used to create SessionFactory object in hibernate?
  8. In which extension in Hibernate is used to store database table configuration ?
  9. Which of the following methods returns proxy object in Hibernate?
  10. In Hibernate QBC stands for
  11. Which method is easy for a Java programmer to add a criterion?
  12. Which of the following element of hbm.xml automatically generate the primary key values?
  13. Does Configuration object is used to create SessionFactory object in hibernate?
  14. Which of the following simplifies an Object Relational Mapping tool?
Hibernate MCQ

Take Hibernate MCQ Quiz & Online Test to Test your knowledge 

We have listed below the best Hibernate MCQ Questions that check your basic knowledge of Hibernate. This Hibernate MCQ Test contains 25 Best Hibernate MCQ (Multiple Choice Questions). You have to select the right answer to a question. These Mcqs are very helpful for the best preparation for Hibernate Exam or Interview. You can also download here the Hibernate MCQ PDF.

Also, Read Best Hibernate Interview Questions.

  • CRM
  • ORM
  • Programming Tool
  • SQL Tool
View Answer
  • Hibernate Queue Language
  • Hibernate Query Language
  • Hypertext Query Language
  • HighSpeed Query Language.
View Answer
  • <list>
  • <set>
  • <map>
  • <bag>
View Answer
  • 1
  • 4
  • 3
  • 5
View Answer
  • Second Level
  • First Level
  • Third Level
  • Fourth Level
Download Free : Hibernate MCQ PDF
View Answer
  • Session
  • Configuration
  • Transaction
  • Factory
View Answer
  • .db
  • .dbm
  • .sql
  • .hbm
View Answer
  • getDatabase()
  • loadDatabase()
  • loadAsyc()
  • load()
View Answer
  • Query By Criteria
  • Query By Call
  • Query By Code
  • Query By Column
View Answer
  • SQL
  • HCQL
  • HQL
  • All of the above
View Answer
  • Data creation
  • Data manipulation
  • Data access
  • All of these
View Answer
  • ElementCollection
  • OneToMany
  • Both 1 & 2
  • None of the above
View Answer
  • hibernate.config.xml
  • hibernate.cfg.xml
  • hibernate.cg.xml
  • All of the above
View Answer
  • Http.conf
  • Mapping files
  • Web.config
  • XML Configuration hibernate.cfg.xml
View Answer
  • Criteria
  • Session
  • Configuration
  • SessionManagement
View Answer
  • JDBC
  • Session
  • Configuration
  • SessionFactory
View Answer
  • 5.1
  • 5.2
  • 5.3
  • 5.4
View Answer
  • Java DB Connectivity
  • Java Data Bind Connect
  • Java Data Bind Connector
  • Java Database Connectivity
View Answer
  • get()
  • load()
  • getDatabase()
  • loadDatabase()
View Answer
  • .sql
  • .ora
  • .hbm
  • .dbm
View Answer