hibernate uses which class for mapping?
-
utility classes
-
Pojo
-
both 1 & 2
-
none
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.