Multiple choice technology architecture

What’s the use of the option “hbm2ddl.auto” in Hibernate Configuration File?

  1. Sets the Necessary Configuration for JDBC Connection

  2. Sets the mapping files for persistent Classes.

  3. Turns on automatic generation of database schemas - directly into the database.

  4. Specify the JDBC Connectivity to happen during startup.

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

The hbm2ddl.auto configuration property enables automatic DDL (Data Definition Language) generation based on Hibernate mapping files. It can create, update, or validate database schemas automatically. Options A and D refer to basic connection configuration handled by other properties, while option B refers to mapping files specified separately.