Multiple choice technology web technology

hibernate uses which class for mapping?

  1. utility classes

  2. Pojo

  3. both 1 & 2

  4. none

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

Hibernate uses POJO (Plain Old Java Objects) classes for mapping Java objects to database tables. The mapping is typically done through XML mapping files or Java annotations on POJO classes. Utility classes are not the primary mapping mechanism in Hibernate.