Multiple choice technology web technology

To which components does the Hibernate framework maps the Java classes with?

  1. Persistent Objects

  2. Database Tables

  3. Only a

  4. Both a & b

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

Hibernate is an ORM (Object-Relational Mapping) framework that maps Java classes (persistent objects) to database tables. The mapping allows Java objects to be persisted to and retrieved from a relational database without writing SQL. Option C is garbled and should read 'Only A'. Option D is incorrect because it's not 'both' - the tables are the destination, not a parallel mapping.