Multiple choice technology programming languages

What are the different methods of Hibernate Configuration?

  1. Programmatic configuration

  2. using hibernate.properties configuration file

  3. using hibernate.cfg.xml

  4. all the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Hibernate can be configured programmatically using Java code, via a hibernate.properties file, or using hibernate.cfg.xml. All three methods are valid approaches depending on the project requirements.