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 

6. Transient and detached objects in hibernate are

  • Instances of persistent class that are not currently associated with session.
  • Instances of persistent class which are in session.

7. org.hibernate.cfg.Configuration can be used for all configuration and no need of XML.

  • False
  • True

8. Which property are used to configure diver class in hibernate?

  • hibernate.connection.driver_class
  • hibernate.connection.datasource

9. Which property is used to enable auto commit for JDBC pooled connections?

  • hibernate.hbm2ddl.auto
  • hibernate.connection.autocommit

10. SessionFactory is a thread-safe object.

  • True
  • False