Loading, please wait...

Hibernate MCQ Quiz (Multiple Choice Questions And Answers)

Search here for MCQs

Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:

List of Programming Full Forms 

11. Which of the following methods returns proxy object?

  • loadDatabase()
  • getDatabase()
  • load()
  • get()

12. Which of the following methods hits database always?

  • load()
  • loadDatabase()
  • getDatabase()
  • get()

13. Which of the following is not a state of object in Hibernate?

  • Attached state
  • Detached state
  • Persistent state
  • Transient state

14. Which of the following is not an inheritance mapping strategies?

  • table per class hierarchy
  • table per subclass
  • table per concrete class
  • table per class

15. Which of the following is not an advantage of Hibernate Criteria API?

  • Allows to use aggregate functions
  • Cannot order the result set
  • Allows to fetch only selected columns of result
  • Can add conditions while fetching results