Hibernate MCQ Quiz

Take Hibernate Quiz To test your Knowledge 

Below are few Hibernate MCQ test that checks your basic knowledge of Hibernate. This Hibernate Test contains around 20 questions of multiple choice with 4 options. You have to select the right answer to a question. You can see the correct answer by clicking view answer link.

Also, Read Best Hibernate interview questions.

1. Hibernate is a ___________?

  • CRM
  • ORM
  • Programming Tool
  • SQL Tool
View Answer

2. HQL Stands for

  • Hibernate Queue Language
  • Hibernate Query Language
  • Hypertext Query Language
  • HighSpeed Query Language.
View Answer

3. Which element in hibernate maps java.util.SortedMap property ?

  • <list>
  • <set>
  • <map>
  • <bag>
View Answer

4. How many layers are available in Hibernate architecture

  • 1
  • 4
  • 3
  • 5
View Answer

5. Hibernate SessionFactory represent which level of cache ?

  • Second Level
  • First Level
  • Third Level
  • Fourth Level
View Answer

6. Hibernate uses PersisterClassProvider by default.

  • True
  • False

7. _______________ object is used to create SessionFactory object in hibernate?

  • Session
  • Configuration
  • Transaction
  • Factory
View Answer

8. In which extension in Hibernate is used to store database table configuration ?

  • .db
  • .dbm
  • .sql
  • .hbm
View Answer

9. Which of the following methods returns proxy object in Hibernate?

  • getDatabase()
  • loadDatabase()
  • loadAsyc()
  • load()
View Answer

10. In Hibernate QBC stands for

  • Query By Criteria
  • Query By Call
  • Query By Code
  • Query By Column
View Answer

11. Which method is easy for a Java programmer to add a criterion?

  • SQL
  • HCQL
  • HQL
  • All of the above
View Answer

Write For Us.

Contribute the Community.