Name the persistence framework used in BOM
-
Spring
-
Hibernate
-
Struts
-
None of the above
Reveal answer
Fill a bubble to check yourself
B
Correct answer
Explanation
Hibernate is an ORM (Object-Relational Mapping) persistence framework specifically designed for database operations. Spring is a broader framework with multiple capabilities including dependency injection and MVC, not primarily a persistence framework. Struts is a web MVC framework.
AI explanation
Hibernate is the ORM (object-relational mapping) framework used to persist and retrieve Business Object Model instances to/from the database, handling the mapping between Java objects and relational tables. Spring and Struts serve different purposes (dependency injection/AOP and MVC web framework respectively), not object persistence.