Multiple choice technology web technology

How can we map several databases in hibernate?

  1. Using several dialect

  2. Using several <session-factory>

  3. Using several connection properties

  4. Not possible to map more than one database

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

To map and connect to multiple databases in a single Hibernate application, you must configure and instantiate a separate `` for each database, as a single session factory is tied to one database configuration.